Skip site navigation (1) Skip section navigation (2)

pgsql: Use 4-byte slock_t on both PPC and PPC64.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use 4-byte slock_t on both PPC and PPC64.
Date: 2012-01-02 05:02:14
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
Use 4-byte slock_t on both PPC and PPC64.

Previously we defined slock_t as 8 bytes on PPC64, but the TAS assembly
code uses word-wide operations regardless, so that the second word was
just wasted space.  There doesn't appear to be any performance benefit
in adding the second word, so get rid of it to simplify the code.



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

pgsql-committers by date

Next:From: Bruce MomjianDate: 2012-01-02 13:49:14
Subject: pgsql: Add comment about skipping binary files for copyright changes.
Previous:From: Bruce MomjianDate: 2012-01-02 03:27:46
Subject: pgsql: Update copyright git skip comment.

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group