Re: [HACKERS] mmap and MAP_ANON - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: [HACKERS] mmap and MAP_ANON
Date
Msg-id 3558222E.934AE23F@trust.ee
Whole thread Raw
Responses Re: [HACKERS] mmap and MAP_ANON  (ocie@paracel.com)
List pgsql-hackers
ocie@paracel.com wrote:
>
> Bruce Momjian wrote:
> >
> > 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.
>
> Doesn't seem to appear in Linux (2.0.30 kernel).  As another poster
> commented, /dev/zero can be mapped for anonymous memory.

although 'man mmap' does not say it, it is present in sys/mman.h on
linux (at least 2.0.33)

it is NOT present in Solaris x86 v.2.6

it is NOT present in SINIX v5.42 (UNIX(r) System V Release 4.1)

--------------
Hannu Krosing

pgsql-hackers by date:

Previous
From: "Göran Thyni"
Date:
Subject: Re: [HACKERS] mmap and MAP_ANON
Next
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: Re: [HACKERS] money or dollar type