Subject: Re: mapping shared memory at a fixed address
To: Daniel Carosone <dan@geek.com.au>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: tech-kern
Date: 02/09/2005 00:14:13
On Wed, Feb 09, 2005 at 03:23:45PM +1100, Daniel Carosone wrote:
> On Tue, Feb 08, 2005 at 11:10:23PM -0500, Todd Vierling wrote:
> > > I meant unecassarily large address space issues due to
> > > duplication..
> > 
> > What duplication?  All code pages are *shared* across a fork (and even the
> > data pages are shared, until a write) -- meaning that there is no
> > duplication until the pages diverge in some way between the forked
> > processes.
> 
> I think he means that with all the program text in one address space,
> there's no more room left for the data and shm - but in separate
> executables each has enough space?

I don't believe that.  Would you care to actually show me a program
with 1GB or more of *text*?

Thor