pgsql-server/src backend/access/transam/Makefi ...

Поиск
Список
Период
Сортировка
От momjian@svr1.postgresql.org (Bruce Momjian)
Тема pgsql-server/src backend/access/transam/Makefi ...
Дата
Msg-id 20030611223746.2258930DFEC@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    momjian@svr1.postgresql.org    03/06/11 19:37:46

Modified files:
    src/backend/access/transam: Makefile clog.c
    src/backend/storage/lmgr: lwlock.c
    src/include/storage: lwlock.h
Added files:
    src/backend/access/transam: slru.c
    src/include/access: slru.h

Log message:
    This patch extracts page buffer pooling and the simple
    least-recently-used strategy from clog.c into slru.c.  It doesn't
    change any visible behaviour and passes all regression tests plus a
    TruncateCLOG test done manually.

    Apart from refactoring I made a little change to SlruRecentlyUsed,
    formerly ClogRecentlyUsed:  It now skips incrementing lru_counts, if
    slotno is already the LRU slot, thus saving a few CPU cycles.  To make
    this work, lru_counts are initialised to 1 in SimpleLruInit.

    SimpleLru will be used by pg_subtrans (part of the nested transactions
    project), so the main purpose of this patch is to avoid future code
    duplication.

    Manfred Koizar


В списке pgsql-committers по дате отправления:

Предыдущее
От: momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql-server/ oc/TODO oc/src/sgml/runtime.sgml ...
Следующее
От: momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql-server/src/interfaces/libpq fe-exec.c