Messages in this thread | | | Date | Fri, 18 Jun 2004 16:16:31 -0700 | From | William Lee Irwin III <> | Subject | Re: [patch] flexible-mmap-2.6.7-D5 |
| |
On Fri, Jun 18, 2004 at 11:38:14PM +0200, Ingo Molnar wrote: > the flexible-mmap-2.6.7-D5 patch (attached) splits the flexible-mmap > layout stuff out of exec-shield. The patch is against 2.6.7 + my latest > NX patch. (i've attached the NX patch too, for convenience.) > the goal of the patch is to change the way virtual memory is allocated, > from: > 0x08000000 ... binary image > 0x08xxxxxx ... brk area, grows upwards > 0x40000000 ... start of mmap, new mmaps go after old ones > 0xbfxxxxxx ... stack > to a more flexible top-down mmap() method: > > 0x08000000 ... binary image > 0x08xxxxxx ... brk area, grows upwards > 0xbfxxxxxx ... _end_ of all mmaps, new mmaps go below old ones > 0xbfyyyyyy ... stack
It may be useful to move STACK_TOP to 0x8040000 give the stack more head room and fit small statically-linked executables into one pagetable page. Otherwise the stack has very little headroom after the first mmap().
-- wli - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |