-
- Downloads
Migrate PGPROC's backendLock into PGPROC itself, using a new tranche.
Previously, each PGPROC's backendLock was part of the main tranche, and the PGPROC just contained a pointer. Now, the actual LWLock is part of the PGPROC. As with previous, similar patches, this makes it significantly easier to identify these lwlocks in LWLOCK_STATS or Trace_lwlocks output and improves modularity. Author: Ildus Kurbangaliev Reviewed-by: Amit Kapila, Robert Haas
Showing
- src/backend/storage/ipc/procarray.c 10 additions, 0 deletionssrc/backend/storage/ipc/procarray.c
- src/backend/storage/lmgr/lock.c 29 additions, 29 deletionssrc/backend/storage/lmgr/lock.c
- src/backend/storage/lmgr/lwlock.c 0 additions, 3 deletionssrc/backend/storage/lmgr/lwlock.c
- src/backend/storage/lmgr/proc.c 1 addition, 1 deletionsrc/backend/storage/lmgr/proc.c
- src/include/storage/lwlock.h 1 addition, 0 deletionssrc/include/storage/lwlock.h
- src/include/storage/proc.h 1 addition, 1 deletionsrc/include/storage/proc.h
Loading
Please register or sign in to comment