public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [patch] flexible-mmap-2.6.7-D5
Date: Fri, 18 Jun 2004 16:16:31 -0700	[thread overview]
Message-ID: <20040618231631.GO1863@holomorphy.com> (raw)
In-Reply-To: <20040618213814.GA589@elte.hu>

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

  reply	other threads:[~2004-06-18 23:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-18 21:38 [patch] flexible-mmap-2.6.7-D5 Ingo Molnar
2004-06-18 23:16 ` William Lee Irwin III [this message]
2004-06-19  7:46   ` Ingo Molnar
2004-06-19  8:34     ` William Lee Irwin III
2004-06-19 11:38       ` Ingo Molnar
2004-06-19 21:34         ` William Lee Irwin III
2004-06-19  8:06 ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040618231631.GO1863@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox