DotGNU Portable.NET - Patches: patch #5305, Use mmap to allocate executable...
You are not allowed to post comments on this tracker with your current authentication level.
patch #5305: Use mmap to allocate executable memory and implement a memory stack
| Submitter: | Kirill Kononenko <krokas> | ||
| Submitted: | Mon 14 Aug 2006 05:34:55 PM UTC | ||
| Category: | None | Priority: | 5 - Normal |
| Status: | Done | Privacy: | Public |
| Assigned to: | None | Open/Closed: | Closed |
|
Wed 23 Aug 2006 06:45:27 AM UTC, comment #1: |
Klaus Treichel <ktreichel> |
|
Mon 14 Aug 2006 05:34:55 PM UTC, original submission:
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. |
Kirill Kononenko <krokas> |
Attached Files
Depends on the following items: None found
Items that depend on this one: None found
CC list is empty
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

The issue has been fixed using a slightly different approach.
Thanks for finding the issue and provising a way to solve it.