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

Re: Posix Shared Mem patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Posix Shared Mem patch
Date: 2012-06-28 14:11:31
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
... btw, I rather imagine that Robert has already noticed this, but OS X
(and presumably other BSDen) spells the flag "MAP_ANON" not
"MAP_ANONYMOUS".  I also find this rather interesting flag there:

     MAP_HASSEMAPHORE  Notify the kernel that the region may contain sema-
                       phores and that special handling may be necessary.

By "semaphore" I suspect they mean "spinlock", so we'd better turn this
flag on where it exists.

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Amit KapilaDate: 2012-06-28 14:40:00
Subject: Patch-2 (2-move-continuation-record-to-page-header.patch) WAL Format Changes
Previous:From: Robert HaasDate: 2012-06-28 14:07:27
Subject: Re: Event Triggers reduced, v1

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