Re: Buffer locking is special (hints, checksums, AIO writes)
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Melanie Plageman <melanieplageman@gmail.com>, Matthias van de Meent <boekewurm+postgres@gmail.com>,
pgsql-hackers@postgresql.org, Thomas Munro <thomas.munro@gmail.com>, Noah Misch <noah@leadboat.com>, Robert Haas <robertmhaas@gmail.com>,
Michael Paquier <michael.paquier@gmail.com>
Date: 2025-12-18T23:39:00Z
Lists: pgsql-hackers
Attachments
Hi, On 2025-12-18 17:06:43 -0500, Andres Freund wrote: > I'll try to come up with a combined patch that applies the optimizations in > LWLockWaitListLock() and LockBufHdr() to each other. Attached is a rebased version of this patch series, with the above patch as 0001. The later patches have a lot, but not yet all, of Melanie's feedback addressed. I mainly am sending them because cfbot wanted a rebase anyway. I'm mainly not yet happy with how 0007 changes buf_internals.h, some more comment work is also needed. 0009 & 0010 still are more for POC than ready to be in-depth reviewed. Greetings, Andres Freund