Optimize latches to send fewer signals.

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

Author: Andres Freund <and...@anarazel.de>
Discussion: 
https://postgr.es/m/ca+hukgjjxpdpzbe0a3hyuywbvazuc89yx3jk9rfzgfv_khu...@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c8f3bc2401e7df7b79bae39dd3511c91f825b6a4

Modified Files
--------------
src/backend/storage/ipc/latch.c | 24 ++++++++++++++++++++++++
src/include/storage/latch.h     |  1 +
2 files changed, 25 insertions(+)

Reply via email to