Use a non-locking test in TAS_SPIN() on all IA64 platforms.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 Aug 2011 17:18:44 +0000 (13:18 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 Aug 2011 17:18:44 +0000 (13:18 -0400)
commitbe1e8053f48f76ac718a03d6526e34e2f2489f5c
tree462310df78214a52768bcdef60b385d751feb906
parentc01c25fbe525869fa81237954727e1eb4b7d4a14
Use a non-locking test in TAS_SPIN() on all IA64 platforms.

Per my testing, this works just as well with gcc as it does with HP's
compiler; and there is no reason to think that the effect doesn't occur
with icc, either.

Also, rewrite the header comment about enforcing sequencing around spinlock
operations, per Robert's gripe that it was misleading.
src/include/storage/s_lock.h