-
- Downloads
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.
Showing
- src/backend/access/transam/clog.c 1 addition, 1 deletionsrc/backend/access/transam/clog.c
- src/backend/access/transam/commit_ts.c 1 addition, 1 deletionsrc/backend/access/transam/commit_ts.c
- src/backend/access/transam/multixact.c 2 additions, 2 deletionssrc/backend/access/transam/multixact.c
- src/backend/access/transam/slru.c 25 additions, 12 deletionssrc/backend/access/transam/slru.c
- src/backend/access/transam/subtrans.c 1 addition, 1 deletionsrc/backend/access/transam/subtrans.c
- src/backend/commands/async.c 1 addition, 1 deletionsrc/backend/commands/async.c
- src/backend/storage/lmgr/lwlock.c 0 additions, 23 deletionssrc/backend/storage/lmgr/lwlock.c
- src/backend/storage/lmgr/predicate.c 1 addition, 1 deletionsrc/backend/storage/lmgr/predicate.c
- src/include/access/slru.h 9 additions, 1 deletionsrc/include/access/slru.h
Loading
Please register or sign in to comment