pgsql: Force the size and alignment of LWLock array entries to be either

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql: Force the size and alignment of LWLock array entries to be either
Дата
Msg-id 20050916003006.3A763D6EA2@svr1.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: neilc@svr1.postgresql.org (Neil Conway)
Дата:
Сообщение: pgsql: Copy-editing for GiST README.
Следующее
От: alvherre@svr1.postgresql.org (Alvaro Herrera)
Дата:
Сообщение: pgsql: Add note about pg_autovacuum settings not being saved on a dump,