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)
committerRobert Haas <rhaas@postgresql.org>
Fri, 1 Jun 2012 12:29:52 +0000 (08:29 -0400)
commit584ade26dc8204fa3f94bae7a70e42e10c1713f7
tree535fe8e4656d3b3a51297711293bf259d2de8a26
parent0dd6883570d7b78e5a59abd2119768fa495b4348
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