pgsql: Don't use a non-locked pre-test of the spinlock on x86_64

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't use a non-locked pre-test of the spinlock on x86_64
Date: 2005-10-11 20:01:31
Message-ID: 20051011200131.64BCAD7342@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Don't use a non-locked pre-test of the spinlock on x86_64 machines.
The pre-test has been shown to be a big loss on Opterons and at best a
wash on EM64T.

Modified Files:
--------------
pgsql/src/include/storage:
s_lock.h (r1.140 -> r1.141)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/s_lock.h.diff?r1=1.140&r2=1.141)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-10-11 20:41:33 pgsql: Add infrastructure for making spins_per_delay variable depending
Previous Message User Mha 2005-10-11 19:48:54 pginstaller - web: Add mention of multiprocess architecture Add