Skip site navigation (1) Skip section navigation (2)

Re: POSIX question

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: POSIX question
Date: 2011-06-20 15:36:42
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Monday, June 20, 2011 17:11:14 Greg Stark wrote:
> 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.
As the nitpicking has already started: Afair its just passing -1 as fd and 
uses the MAP_ANONYMOUS flag argument ;)


In response to

pgsql-hackers by date

Next:From: Kevin GrittnerDate: 2011-06-20 16:14:17
Subject: Re: [WIP] cache estimates, cache access cost
Previous:From: Pavel StehuleDate: 2011-06-20 15:35:55
Subject: Re: Fwd: Keywords in pg_hba.conf should be field-specific

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group