| From: | ocie(at)paracel(dot)com |
|---|---|
| To: | hannu(at)trust(dot)ee (Hannu Krosing) |
| Cc: | pgsql-hackers(at)hub(dot)org, maillist(at)candle(dot)pha(dot)pa(dot)us |
| Subject: | Re: [HACKERS] mmap and MAP_ANON |
| Date: | 1998-05-12 19:40:47 |
| Message-ID: | 9805121940.AA05201@dolomite.paracel.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hannu Krosing wrote:
>
> ocie(at)paracel(dot)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 appears there, but using it causes mmap to return EINVAL.
Ocie
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 1998-05-12 20:17:28 | Re: [HACKERS] text patch -- sugg cmd when run as root |
| Previous Message | Bruce Momjian | 1998-05-12 19:34:30 | Re: [HACKERS] Unusual notices in latest snapshot |