From: | Nathan Bossart <nathan(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Use a non-locking initial test in TAS_SPIN on AArch64. |
Date: | 2025-01-10 19:18:30 |
Message-ID: | E1tWKWc-000s5t-8V@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Use a non-locking initial test in TAS_SPIN on AArch64.
Our testing showed that this is helpful at sufficiently high
contention levels and doesn't hurt performance on smaller machines.
The new TAS_SPIN macro for AArch64 is identical to the ones added
for PPC and x86_64 (see commits bc2a050d40 and b03d196be0).
Reported-by: Salvatore Dipietro
Reviewed-by: Jingtang Zhang, Andres Freund
Tested-by: Tom Lane
Discussion: https://postgr.es/m/ZxgDEb_VpWyNZKB_%40nathan
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/3d0b4b1068018f624d5ef7c9f90b536ed58345b5
Modified Files
--------------
src/include/storage/s_lock.h | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2025-01-10 20:42:54 | pgsql: Fix obsolete nbtree README left link remarks. |
Previous Message | Andres Freund | 2025-01-10 16:44:53 | pgsql: postmaster: Improve logging of signals sent by postmaster |