diff options
author | Andres Freund <andres@anarazel.de> | 2014-12-25 17:24:30 +0100 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2014-12-25 17:24:30 +0100 |
commit | 7882c3b0b95640e361f1533fe0f2d02e4e5d8610 (patch) | |
tree | 6136d4cb37fbff3f9fcbc4ca8e1b8e25c12f467c /src/backend/access/gist/gistproc.c | |
parent | 570bd2b3fd20d3f8896f5e6a8133d6aed385ac86 (diff) | |
download | postgresql-7882c3b0b95640e361f1533fe0f2d02e4e5d8610.tar.gz postgresql-7882c3b0b95640e361f1533fe0f2d02e4e5d8610.zip |
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.
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions