]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Optimize latches to send fewer signals.
authorThomas Munro <tmunro@postgresql.org>
Sun, 28 Feb 2021 22:51:15 +0000 (11:51 +1300)
committerThomas Munro <tmunro@postgresql.org>
Sun, 28 Feb 2021 23:44:12 +0000 (12:44 +1300)
commitc8f3bc2401e7df7b79bae39dd3511c91f825b6a4
tree740f9fecf0c3efb6a2aa338d5c47598edb4150af
parentd1b90995e8d41df7e59efe48e98f26cd66baba9b
Optimize latches to send fewer signals.

Don't send signals to processes that aren't sleeping.

Author: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CA+hUKGJjxPDpzBE0a3hyUywBvaZuC89yx3jK9RFZgfv_KHU7gg@mail.gmail.com
src/backend/storage/ipc/latch.c
src/include/storage/latch.h