Optimize latches to send fewer signals.

Thomas Munro <tmunro@postgresql.org>

Commit: c8f3bc2401e7df7b79bae39dd3511c91f825b6a4
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2021-02-28T23:44:12Z
Releases: 14.0
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

Files

PathChange+/−
src/backend/storage/ipc/latch.c modified +24 −0
src/include/storage/latch.h modified +1 −0

Discussion