You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PowerPC processors have quite specific implementation of atomic operations:
they are implemented optimistically. If value is changed between our read and
write, then we have to retry. So, CAS operation on this platform becomes
potentially infinite loop. Thus, loop of CAS operations becomes two nested
loops. This patch implements LWLockAttemptLock() as single loop in assembly.
That shows great speedup on high concurrent workloads.
0 commit comments