]> granicus.if.org Git - postgresql/commit
Back-port Postgres 7.4 spinlock code into 7.3 branch. This adds
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Jun 2006 23:18:11 +0000 (23:18 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Jun 2006 23:18:11 +0000 (23:18 +0000)
commit9e63275633b27377ff402f5bdde64584b7461a01
tree2ed1358b3c5dd7f0105fa273c2277548fe20877a
parent7769196fb58db30c1e1c22daefecd6c25e978ef3
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.
src/backend/storage/lmgr/s_lock.c
src/include/port/linux.h
src/include/storage/s_lock.h