]> granicus.if.org Git - postgresql/commit
Move each SLRU's lwlocks to a separate tranche.
authorRobert Haas <rhaas@postgresql.org>
Thu, 12 Nov 2015 19:59:09 +0000 (14:59 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 12 Nov 2015 19:59:09 +0000 (14:59 -0500)
commitfe702a7b3f9f2bc5bf6d173166d7d55226af82c8
treed2e1c94a293e39cef4615f20b91dfce21a1b0245
parentc405918858c09d4264ffc5a3c73d57dc3efb0213
Move each SLRU's lwlocks to a separate tranche.

This makes it significantly easier to identify these lwlocks in
LWLOCK_STATS or Trace_lwlocks output.  It's also arguably better
from a modularity standpoint, since lwlock.c no longer needs to
know anything about the LWLock needs of the higher-level SLRU
facility.

Ildus Kurbangaliev, reviewd by Álvaro Herrera and by me.
src/backend/access/transam/clog.c
src/backend/access/transam/commit_ts.c
src/backend/access/transam/multixact.c
src/backend/access/transam/slru.c
src/backend/access/transam/subtrans.c
src/backend/commands/async.c
src/backend/storage/lmgr/lwlock.c
src/backend/storage/lmgr/predicate.c
src/include/access/slru.h