pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use standard compare_exchange loop style in ProcArrayGroupClearX
Date: Sat, 19 Oct 2019 03:27:18 +0000
Message-ID: <E1iLfOg-0005hN-9W@gemulon.postgresql.org> (raw)

Use standard compare_exchange loop style in ProcArrayGroupClearXid().

Besides style, this might improve performance in the contended case.

Reviewed by Amit Kapila.

Discussion: https://postgr.es/m/20191015035348.GA4166224@rfd.leadboat.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/48cc59ed24f95fa171b12ba1b461e6dc72d62b2b

Modified Files
--------------
src/backend/storage/ipc/procarray.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



Message-ID: <E1iLfOg-0005hN-9W@gemulon.postgresql.org>
Permalink:  ../E1iLfOg-0005hN-9W@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iLfOg-0005hN-9W@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: noah@leadboat.com
  Subject: Re: pgsql: Use standard compare_exchange loop style in ProcArrayGroupClearX
  In-Reply-To: <E1iLfOg-0005hN-9W@gemulon.postgresql.org>
  References: <E1iLfOg-0005hN-9W@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