From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Once again allow LWLocks to be used within DSM segments. |
Date: | 2016-08-15 22:15:21 |
Message-ID: | E1bZQAD-0002pA-AT@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2016-08-16 12:37:28 | pgsql: Disable parallel query by default. |
Previous Message | Tom Lane | 2016-08-15 21:35:40 | pgsql: Allow .so minor version numbers above 9 in .gitignore. |