pgsql: Use a non-locking initial test in TAS_SPIN on PPC. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Use a non-locking initial test in TAS_SPIN on PPC.
Date
Msg-id E1RiBT4-00029b-6J@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Use a non-locking initial test in TAS_SPIN on PPC.

Further testing convinces me that this is helpful at sufficiently high
contention levels, though it's still worrisome that it loses slightly
at lower contention levels.

Per Manabu Ori.

Branch
------
master

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

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


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Support for building with MS Visual Studio 2010.
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Suggest use of psql when pg_restore gets a text dump.