pgsql: Force the size and alignment of LWLock array entries to be either - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Force the size and alignment of LWLock array entries to be either
Date
Msg-id 20050916003006.3A763D6EA2@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Force the size and alignment of LWLock array entries to be either 16 or 32
bytes.  This shouldn't make any difference on x86 machines, where the size
happened to be 16 bytes anyway, but on 64-bit machines and machines with
slock_t int or wider, it will speed array indexing and hopefully reduce
SMP cache contention effects.  Per recent experimentation.

Modified Files:
--------------
    pgsql/src/backend/storage/lmgr:
        lwlock.c (r1.29 -> r1.30)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/lwlock.c.diff?r1=1.29&r2=1.30)

pgsql-committers by date:

Previous
From: neilc@svr1.postgresql.org (Neil Conway)
Date:
Subject: pgsql: Copy-editing for GiST README.
Next
From: alvherre@svr1.postgresql.org (Alvaro Herrera)
Date:
Subject: pgsql: Add note about pg_autovacuum settings not being saved on a dump,