git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 570bd2b) | patch
Convert the PGPROC->lwWaitLink list into a dlist instead of open coding it.
2014年12月25日 16:24:30 +0000 (17:24 +0100)
2014年12月25日 16:24:30 +0000 (17:24 +0100)
commit 7882c3b0b95640e361f1533fe0f2d02e4e5d8610
Convert the PGPROC->lwWaitLink list into a dlist instead of open coding it.

Besides being shorter and much easier to read it changes the logic in
LWLockRelease() to release all shared lockers when waking up any. This
can yield some significant performance improvements - and the fairness
isn't really much worse than before, as we always allowed new shared
lockers to jump the queue.
src/backend/access/transam/twophase.c diff | blob | blame | history
src/backend/storage/lmgr/lwlock.c diff | blob | blame | history
src/backend/storage/lmgr/proc.c diff | blob | blame | history
src/include/storage/lwlock.h diff | blob | blame | history
src/include/storage/proc.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /