dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [patch #5305] Use mmap to allocate executable memory a


From: Kirill Kononenko
Subject: [Pnet-developers] [patch #5305] Use mmap to allocate executable memory and implement a memory stack
Date: Mon, 14 Aug 2006 17:34:55 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20060628 Epiphany/1.4.8 (Debian)

URL:
  <http://savannah.gnu.org/patch/?func=detailitem&item_id=5305>

                 Summary: Use mmap to allocate executable memory and
implement a memory stack
                 Project: DotGNU Portable.NET
            Submitted by: krokas
            Submitted on: Monday 14/08/06 at 17:34
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open

    _______________________________________________________

Details:

Some systems need special handling to create executable code segments. For
instance, GNU/Linux on Alpha, and Fedora Core 4 on x86. This patch use mmap
to allocate pages of executable memory and set the EXEC flag. However, mmap
allocates pages even to page_size (usually 4096 bytes) even for very small
blocks of data. We use a memory stack to manage blocks of executable memory.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Monday 14/08/06 at 17:34  Name: krokas-060814.patch  Size: 23.07KB  
By: krokas

<http://savannah.gnu.org/patch/download.php?file_id=10538>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?func=detailitem&item_id=5305>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]