summaryrefslogtreecommitdiff
path: root/src/test/modules/test_regex/test_regex.control
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2025-11-06 16:43:16 -0500
committerAndres Freund <andres@anarazel.de>2025-11-06 16:43:16 -0500
commit5310fac6e0fcb1c7fcefb3446767673f9107328c (patch)
tree9089e0978fc799eeda96df4427423de28664b210 /src/test/modules/test_regex/test_regex.control
parentc75ebc657ffce8dab76471da31aafb79fbe3fda2 (diff)
bufmgr: Use atomic sub for unpinning buffersHEADorigin/masterorigin/HEADmaster
The prior commit made it legal to modify BufferDesc.state while the buffer header spinlock is held. This allows us to replace the CAS loop inUnpinBufferNoOwner() with an atomic sub. This improves scalability significantly. See the prior commits for more background. Reviewed-by: Matthias van de Meent <boekewurm+postgres@gmail.com> Discussion: https://postgr.es/m/fvfmkr5kk4nyex56ejgxj3uzi63isfxovp2biecb4bspbjrze7@az2pljabhnff
Diffstat (limited to 'src/test/modules/test_regex/test_regex.control')
0 files changed, 0 insertions, 0 deletions