Re: [HACKERS] mmap and MAP_ANON

Diab Jerius <dj@pelf.harvard.edu>

From: dj@pelf.harvard.edu (Diab Jerius)
To: maillist@candle.pha.pa.us
Cc: hackers@postgreSQL.org
Date: 1998-05-11T13:39:41Z
Lists: pgsql-hackers
I can't find MAP_ANON on Solaris 2.5.1 or 2.5.6.  The man
page claims the following options are avaliable:

          MAP_SHARED               Share changes.
          MAP_PRIVATE              Changes are private.
          MAP_FIXED                Interpret addr exactly.
          MAP_NORESERVE            Don't reserve swap space.


If you'd like, I can send along the whole man page.

---------  Received message begins Here  ---------

> 
> Would people tell me what platforms do NOT support the MAP_ANON flag to
> the mmap() system call?  You should find it in the mmap() manual page.
> 
> *BSD has it, but I am not sure of the others.  I am researching cache
> size issues and the use of mmap vs. SYSV shared memory.
> 
> -- 
> Bruce Momjian                          |  830 Blythe Avenue
> maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
>   +  If your life is a hard drive,     |  (610) 353-9879(w)
>   +  Christ can be your backup.        |  (610) 853-3000(h)
> 
> 

-------------
Diab Jerius                       Harvard-Smithsonian Center for Astrophysics
                                  60 Garden St, MS 70, Cambridge MA 02138 USA
djerius@cfa.harvard.edu           vox: 617 496 7575         fax: 617 495 7356