pgsql: Use a non-locking test in TAS_SPIN() on all IA64 platforms. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Use a non-locking test in TAS_SPIN() on all IA64 platforms.
Date
Msg-id E1Qy5U5-0007G3-5q@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/be1e8053f48f76ac718a03d6526e34e2f2489f5c

Modified Files
--------------
src/include/storage/s_lock.h |   28 ++++++++++++++++++++++------
1 files changed, 22 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Improve spinlock performance for HP-UX, ia64, non-gcc.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix concat_ws() to not insert a separator after leading NULL arg