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(dot)parragi(at)percona(dot)com>
Tested-by: solai v <solai(dot)cdac(at)gmail(dot)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(-)