Subject: Re: MAP_ANON
To: Thor Lancelot Simon <tls@rek.tjls.com>
From: Martin Husemann <martin@duskware.de>
List: tech-kern
Date: 03/18/2003 13:57:31
On Tue, Mar 18, 2003 at 07:50:57AM -0500, Thor Lancelot Simon wrote:
> 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.

I know what MAP_ANON is usefull for.
I don't see what MAP_ANON with a file descriptor != -1 is usefull for.

Martin