Use ISB as a spin-delay instruction on ARM64.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/include/storage/s_lock.h | modified | +17 −0 |
Discussion
- Add spin_delay() implementation for Arm in s_lock.h 15 messages · 2021-12-10 → 2022-04-07