Subject: Re: Wine & NetBSD?
To: matthew green <mrg@eterna.com.au>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 11/21/2001 13:01:44
On Thu, Nov 22, 2001 at 07:08:41AM +1100, matthew green wrote:

 > as jason hinted, this is from ELF basically.  as i understand it,
 > it was chosen so that the stack could grown downwards from the
 > bottom of the program, thus allowing a single region for mapping.
 > but it occurs to me that this is incongruent with r/o text
 > mappings vs. r/w data/stack mappings...

Yah, it can be a more efficient use of page table space...  I.e.
you don't need as many L2 tables (and possibly L3 tables) to map
the process if the stack grows town from .text.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>