projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbf99ac
)
Remove the other copy of the lwlocks.
bufmgr
author
Robert Haas
<
[email protected]
>
Sun, 15 Nov 2015 19:15:40 +0000
(14:15 -0500)
committer
Robert Haas
<
[email protected]
>
Sun, 15 Nov 2015 19:15:40 +0000
(14:15 -0500)
src/backend/storage/lmgr/lwlock.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/storage/lmgr/lwlock.c
b/src/backend/storage/lmgr/lwlock.c
index 43534d63c3396d5e74b59be6d0e3a169b0ab86db..0838706df518edbcb5c72a992c59a843b45de225 100644
(file)
--- a/
src/backend/storage/lmgr/lwlock.c
+++ b/
src/backend/storage/lmgr/lwlock.c
@@
-353,9
+353,6
@@
NumLWLocks(void)
/* Predefined LWLocks */
numLocks = NUM_FIXED_LWLOCKS;
- /* bufmgr.c needs two for each shared buffer */
- numLocks += 2 * NBuffers;
-
/* proc.c needs one for each backend or auxiliary process */
numLocks += MaxBackends + NUM_AUXILIARY_PROCS;