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

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

From
Tom Lane
Date:
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(+)