Subject: Re: MAP_ANON
To: None <tech-kern@netbsd.org>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: tech-kern
Date: 03/18/2003 07:50:57
On Tue, Mar 18, 2003 at 01:36:52PM +0100, Martin Husemann wrote:
> On Tue, Mar 18, 2003 at 12:15:51PM +0000, David Laight wrote:
> > Nope, you just have to make one process be a child of the other.
> 
> Which buys you what exactly over MAP_INHERIT?

It buys you not having to have the pages be associated with a file
in the filesystem, without using the gross /dev/zero hack.  The
point of MAP_ANON is to cleanly replace the mmap of /dev/zero.

-- 
 Thor Lancelot Simon	                                      tls@rek.tjls.com
   But as he knew no bad language, he had called him all the names of common
 objects that he could think of, and had screamed: "You lamp!  You towel!  You
 plate!" and so on.              --Sigmund Freud