Re: POSIX question - Mailing list pgsql-hackers

From Greg Stark
Subject Re: POSIX question
Date
Msg-id BANLkTi=E_am4oWhHM3oAzHwrO0Fz6SLrnU-YK5wm3Ld9MOGu7g@mail.gmail.com
Whole thread Raw
In response to Re: POSIX question  (Florian Pflug <fgp@phlo.org>)
Responses Re: POSIX question
List pgsql-hackers
On Mon, Jun 20, 2011 at 4:01 PM, Florian Pflug <fgp@phlo.org> wrote:
> Are you sure? Isn't mmap()ing /dev/null a way to *allocate* memory?
>
> Or at least this is what I always thought glibc does when you malloc()

It mmaps /dev/zero actually.


-- 
greg


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Range Types and extensions
Next
From: Roger Leigh
Date:
Subject: Re: POSIX question