Thread: pgsql: Back-port Postgres 7.4 spinlock code into 7.3 branch.

pgsql: Back-port Postgres 7.4 spinlock code into 7.3 branch.

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Back-port Postgres 7.4 spinlock code into 7.3 branch.  This adds
previously-missing spinlock code for x86_64 and ppc64 architectures,
converts the ppc/ppc64 code into gcc inlines, and provides a better
spinlock backoff algorithm on all architectures.  Aside from being
almost identical to the community 7.4 source code, this exact patch
has been in use for awhile in Red Hat's RHEL3 RPMs, so I have pretty
good confidence in it.  Why bother, you ask?  I'm taking pity on a
couple of buildfarm members that have been vainly trying to build 7.3
on these 64-bit architectures.

Tags:
----
REL7_3_STABLE

Modified Files:
--------------
    pgsql/src/backend/storage/lmgr:
        s_lock.c (r1.9.2.1 -> r1.9.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/s_lock.c.diff?r1=1.9.2.1&r2=1.9.2.2)
    pgsql/src/include/port:
        linux.h (r1.31.4.1 -> r1.31.4.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/port/linux.h.diff?r1=1.31.4.1&r2=1.31.4.2)
    pgsql/src/include/storage:
        s_lock.h (r1.101.2.1 -> r1.101.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/s_lock.h.diff?r1=1.101.2.1&r2=1.101.2.2)