pgsql: Optimize latches to send fewer signals.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Optimize latches to send fewer signals.
Date: 2021-03-01 01:26:45
Message-ID: E1lGXKf-0007dl-IN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Optimize latches to send fewer signals.

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

Author: Andres Freund <andres(at)anarazel(dot)de>
Discussion: https://postgr.es/m/CA+hUKGJjxPDpzBE0a3hyUywBvaZuC89yx3jK9RFZgfv_KHU7gg@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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2021-03-01 02:46:33 pgsql: Update the docs and comments for decoding of prepared xacts.
Previous Message Thomas Munro 2021-02-28 22:27:36 pgsql: Remove latch.c workaround for Linux < 2.6.27.