Don't use a non-locked pre-test of the spinlock on x86_64 machines.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 Oct 2005 20:01:30 +0000 (20:01 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 Oct 2005 20:01:30 +0000 (20:01 +0000)
commita759ebea3fb057d3f4ab0beb93209db49b2e646f
tree01d669b78e20a5bbc516d9dfab1940d33e66dbd5
parenta70ae476031940c5a6838e5fc51f6f77d4a32972
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.
src/include/storage/s_lock.h