Re: pgsql: Move named LWLock tranche requests to shared memory. - Mailing list pgsql-committers

From Michael Paquier
Subject Re: pgsql: Move named LWLock tranche requests to shared memory.
Date
Msg-id aMtJAMRgeH3-YQPb@paquier.xyz
Whole thread Raw
In response to Re: pgsql: Move named LWLock tranche requests to shared memory.  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: pgsql: Move named LWLock tranche requests to shared memory.
List pgsql-committers
On Wed, Sep 17, 2025 at 09:34:24AM -0500, Nathan Bossart wrote:
> Yeah, this stuff is rather precarious, and I'm a bit surprised there
> haven't been more problems in this area.

LWLock handling is quite special, but I am also getting suspicious
about some more shmem areas.  Perhaps these deserve a second look,
even if the lwlock handling with its allocation of tranches is kind of
a special treatment.

Anyway, your comment additions in v3 look fine from here.
--
Michael

Attachment

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Calculate agglevelsup correctly when Aggref contains a CTE.
Next
From: Andres Freund
Date:
Subject: pgsql: Mark shared buffer lookup table HASH_FIXED_SIZE