Don't use a non-locked pre-test of the spinlock on x86_64 machines.

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

Commit: 9907b9775b4035f846fec5bb4d077eca7e5494ea
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-10-11T20:01:30Z
Releases: 8.1.0
Don't use a non-locked pre-test of the spinlock on x86_64 machines.
The pre-test has been shown to be a big loss on Opterons and at best a
wash on EM64T.

Files

PathChange+/−
src/include/storage/s_lock.h modified +50 −4