From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Use dlist/dclist instead of PROC_QUEUE / SHM_QUEUE for heavyweig |
Date: | 2023-01-18 19:43:58 |
Message-ID: | E1pIELm-004KiG-58@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(dot)munro(at)gmail(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2023-01-18 19:58:55 | Re: pgsql: Get rid of the "new" and "old" entries in a view's rangetable. |
Previous Message | Andres Freund | 2023-01-18 18:28:29 | pgsql: Fix ILIST_DEBUG build |