Re: POSIX question

From: Greg Stark <stark(at)mit(dot)edu>
To: Florian Pflug <fgp(at)phlo(dot)org>
Cc: Radosław Smogura <rsmogura(at)softperience(dot)eu>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>, Markus Wanner <markus(at)bluegap(dot)ch>
Subject: Re: POSIX question
Date: 2011-06-20 15:11:14
Message-ID: BANLkTi=E_am4oWhHM3oAzHwrO0Fz6SLrnU-YK5wm3Ld9MOGu7g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jun 20, 2011 at 4:01 PM, Florian Pflug <fgp(at)phlo(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Florian Pflug 2011-06-20 15:22:43 Re: proposal: a validator for configuration files
Previous Message Greg Stark 2011-06-20 15:09:28 Re: Range Types and extensions