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: 11577.1340892691@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

Responses

Browse pgsql-hackers by date

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