Use ISB as a spin-delay instruction on ARM64.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a82a5eee314df52f3183cedc0ecbcac7369243b1
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2022-04-06T22:58:14Z
Releases: 15.0
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

Files

PathChange+/−
src/include/storage/s_lock.h modified +17 −0

Discussion