]> granicus.if.org Git - postgresql/commit
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)
commit9907b9775b4035f846fec5bb4d077eca7e5494ea
treeacc93d9b751ca3d1a1330ca34f87a8f404db3dc2
parent0cc0d0822ddf8e76ed3b7d16ad500762b2ed43dd
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