Fix PPC s_lock operations to work correctly on multi-CPU machines.
Tom Lane <tgl@sss.pgh.pa.us>
Fix PPC s_lock operations to work correctly on multi-CPU machines. Need 'isync' during TAS and 'sync' during S_UNLOCK.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/lmgr/s_lock.c | modified | +6 −1 |
| src/include/storage/s_lock.h | modified | +16 −1 |