agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Convert ParallelBitmapHeapState->state to an atomic variable.
Date: Tue, 22 Sep 2026 17:44:50 +0000
Message-ID: <E1x94Xy-00000000njB-2qAX@gemulon.postgresql.org> (raw)
Convert ParallelBitmapHeapState->state to an atomic variable.
Currently, this variable is a SharedBitmapState protected by a
spinlock. By converting it to an atomic variable, we can remove the
spinlock.
Reviewed-by: Zsolt Parragi <zsolt.parragi@percona.com>
Tested-by: solai v <solai.cdac@gmail.com>
Discussion: https://postgr.es/m/alAJeRRzehDjLaF1%40nathan
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/b1ec662ec189f3492a5c386edf80359347abefef
Modified Files
--------------
src/backend/executor/nodeBitmapHeapscan.c | 23 +++++++----------------
1 file changed, 7 insertions(+), 16 deletions(-)
Message-ID: <E1x94Xy-00000000njB-2qAX@gemulon.postgresql.org>
Permalink: ../E1x94Xy-00000000njB-2qAX@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1x94Xy-00000000njB-2qAX@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 using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Convert ParallelBitmapHeapState->state to an atomic variable.
In-Reply-To: <E1x94Xy-00000000njB-2qAX@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox