Re: Back-patch use of unnamed POSIX semaphores for Linux?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Back-patch use of unnamed POSIX semaphores for Linux?
Date: 2016-12-07 14:38:10
Message-ID: 27169.1481121490@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> writes:
> On 12/6/16 9:53 PM, Tom Lane wrote:
>> I think we should give serious consideration to back-patching commit
>> ecb0d20a9, which changed the default semaphore type to unnamed-POSIX
>> on Linux.

> Even with that change, dynamic shared memory is still vulnerable to be
> removed.

Really? I thought we concluded that it is safe because it is detectably
attached to running processes. The trouble with SysV semaphores is that
they lack any such attachment, so systemd is left to guess whether they
are still in use.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-12-07 14:45:58 Re: Declarative partitioning - another take
Previous Message Stephen Frost 2016-12-07 14:37:31 Re: Test "tablespace" fails during `make installcheck` on master-replica setup