pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Optimize latches to send fewer signals.
Date: Mon, 01 Mar 2021 01:26:45 +0000
Message-ID: <E1lGXKf-0007dl-IN@gemulon.postgresql.org> (raw)

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

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(+)



Message-ID: <E1lGXKf-0007dl-IN@gemulon.postgresql.org>
Permalink:  ../E1lGXKf-0007dl-IN@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lGXKf-0007dl-IN@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org
  Subject: Re: pgsql: Optimize latches to send fewer signals.
  In-Reply-To: <E1lGXKf-0007dl-IN@gemulon.postgresql.org>
  References: <E1lGXKf-0007dl-IN@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox