]> granicus.if.org Git - postgresql/commit
Use a non-locking initial test in TAS_SPIN on PPC.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 3 Jan 2012 21:00:06 +0000 (16:00 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 3 Jan 2012 21:00:06 +0000 (16:00 -0500)
commitbc2a050d40976441cdb963ad829316c23e8df0aa
treec7e308d7ce71769dc527bf068c557318396e19c1
parent63876d3bac5a7471a7987da25a93c13a2534a644
Use a non-locking initial test in TAS_SPIN on PPC.

Further testing convinces me that this is helpful at sufficiently high
contention levels, though it's still worrisome that it loses slightly
at lower contention levels.

Per Manabu Ori.
src/include/storage/s_lock.h