From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use dlist/dclist instead of PROC_QUEUE / SHM_QUEUE for heavyweig
Date: Wed, 18 Jan 2023 19:43:58 +0000
Message-ID: <E1pIELm-004KiG-58@gemulon.postgresql.org> (raw)
Use dlist/dclist instead of PROC_QUEUE / SHM_QUEUE for heavyweight locks
Part of a series to remove SHM_QUEUE. ilist.h style lists are more widely used
and have an easier to use interface.
As PROC_QUEUE is now unused, remove it.
Reviewed-by: Thomas Munro <thomas.munro@gmail.com> (in an older version)
Discussion: https://postgr.es/m/20221120055930.t6kl3tyivzhlrzu2@awork3.anarazel.de
Discussion: https://postgr.es/m/20200211042229.msv23badgqljrdg2@alap3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5764f611e10b126e09e37fdffbe884c44643a6ce
Modified Files
--------------
src/backend/access/transam/twophase.c | 4 +-
src/backend/storage/lmgr/deadlock.c | 87 +++++-------
src/backend/storage/lmgr/lock.c | 155 ++++++++--------------
src/backend/storage/lmgr/proc.c | 243 +++++++++++-----------------------
src/include/storage/lock.h | 15 +--
src/include/storage/proc.h | 17 ++-
src/tools/pgindent/typedefs.list | 1 -
7 files changed, 183 insertions(+), 339 deletions(-)
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: andres@anarazel.de
Subject: Re: pgsql: Use dlist/dclist instead of PROC_QUEUE / SHM_QUEUE for heavyweig
In-Reply-To: <E1pIELm-004KiG-58@gemulon.postgresql.org>
References: <E1pIELm-004KiG-58@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