pgsql: Remove BufferLocks[] array in favor of a single pointer to the - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Remove BufferLocks[] array in favor of a single pointer to the
Date
Msg-id 20041016180507.7727B329CFB@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Remove BufferLocks[] array in favor of a single pointer to the buffer
(if any) currently waited for by LockBufferForCleanup(), which is all
that we were using it for anymore.  Saves some space and eliminates
proportional-to-NBuffers slowdown in UnlockBuffers().

Modified Files:
--------------
    pgsql/src/backend/storage/buffer:
        buf_init.c (r1.68 -> r1.69)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/buffer/buf_init.c.diff?r1=1.68&r2=1.69)
        bufmgr.c (r1.178 -> r1.179)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/buffer/bufmgr.c.diff?r1=1.178&r2=1.179)
    pgsql/src/include/storage:
        buf_internals.h (r1.73 -> r1.74)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/storage/buf_internals.h.diff?r1=1.73&r2=1.74)

pgsql-committers by date:

Previous
From: momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Fix Cygwin using of pg_ctl by not usig START.
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Give the ResourceOwner mechanism full responsibility for