pgsql: Use ISB as a spin-delay instruction on ARM64.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use ISB as a spin-delay instruction on ARM64.
Date: 2022-04-06 22:58:32
Message-ID: E1ncEbf-000e44-JP@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use ISB as a spin-delay instruction on ARM64.

This seems beneficial on high-core-count machines, and not harmful
on lesser hardware. However, older ARM32 gear doesn't have this
instruction, so restrict the patch to ARM64.

Geoffrey Blake

Discussion: https://postgr.es/m/78338F29-9D7F-4DC8-BD71-E9674CE71425@amazon.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a82a5eee314df52f3183cedc0ecbcac7369243b1

Modified Files
--------------
src/include/storage/s_lock.h | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-04-06 23:52:51 pgsql: Add option --config-file to pg_rewind
Previous Message Andres Freund 2022-04-06 21:35:17 pgsql: pgstat: rename some pgstat_send_* functions to pgstat_report_*.