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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use a non-locking initial test in TAS_SPIN on PPC.
Date: 2012-01-03 21:00:22
Message-ID: E1RiBT4-00029b-6J@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2012-01-03 21:03:19 pgsql: Suggest use of psql when pg_restore gets a text dump.
Previous Message Andrew Dunstan 2012-01-03 13:45:09 pgsql: Support for building with MS Visual Studio 2010.