From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Once again allow LWLocks to be used within DSM segments.
Date: Mon, 15 Aug 2016 22:15:21 +0000
Message-ID: <E1bZQAD-0002pA-AT@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Once again allow LWLocks to be used within DSM segments.
Prior to commit 7882c3b0b95640e361f1533fe0f2d02e4e5d8610, it was
possible to use LWLocks within DSM segments, but that commit broke
this use case by switching from a doubly linked list to a circular
linked list. Switch back, using a new bit of general infrastructure
for maintaining lists of PGPROCs.
Thomas Munro, reviewed by me.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/b25b6c9701e5c18e3ad3b701df62380f8d138ba0
Modified Files
--------------
src/backend/storage/lmgr/lwlock.c | 63 +++++++-------
src/include/storage/lwlock.h | 4 +-
src/include/storage/proc.h | 6 +-
src/include/storage/proclist.h | 154 +++++++++++++++++++++++++++++++++++
src/include/storage/proclist_types.h | 45 ++++++++++
src/tools/pgindent/typedefs.list | 3 +
6 files changed, 240 insertions(+), 35 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: rhaas@postgresql.org
Subject: Re: pgsql: Once again allow LWLocks to be used within DSM segments.
In-Reply-To: <E1bZQAD-0002pA-AT@gemulon.postgresql.org>
References: <E1bZQAD-0002pA-AT@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox