pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: spinlock emulation: Fix bug when more than INT_MAX spinlocks are
7+ messages / 1 participants
[nested] [flat]

* pgsql: spinlock emulation: Fix bug when more than INT_MAX spinlocks are
@ 2020-06-17 20:09  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 7+ messages in thread

From: Andres Freund @ 2020-06-17 20:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

spinlock emulation: Fix bug when more than INT_MAX spinlocks are initialized.

Once the counter goes negative we ended up with spinlocks that errored
out on first use (due to check in tas_sema).

Author: Andres Freund
Reviewed-By: Robert Haas
Discussion: https://postgr.es/m/20200606023103.avzrctgv7476xj7i@alap3.anarazel.de
Backpatch: 9.5-

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4d4ca24efe8ebda9547337f47dcb61d3163be765

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: spinlock emulation: Fix bug when more than INT_MAX spinlocks are
@ 2020-06-17 20:09  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 7+ messages in thread

From: Andres Freund @ 2020-06-17 20:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

spinlock emulation: Fix bug when more than INT_MAX spinlocks are initialized.

Once the counter goes negative we ended up with spinlocks that errored
out on first use (due to check in tas_sema).

Author: Andres Freund
Reviewed-By: Robert Haas
Discussion: https://postgr.es/m/20200606023103.avzrctgv7476xj7i@alap3.anarazel.de
Backpatch: 9.5-

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/276bdc93924afb2bd793627f49a9e7edd4172b63

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: spinlock emulation: Fix bug when more than INT_MAX spinlocks are
@ 2020-06-17 20:09  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 7+ messages in thread

From: Andres Freund @ 2020-06-17 20:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

spinlock emulation: Fix bug when more than INT_MAX spinlocks are initialized.

Once the counter goes negative we ended up with spinlocks that errored
out on first use (due to check in tas_sema).

Author: Andres Freund
Reviewed-By: Robert Haas
Discussion: https://postgr.es/m/20200606023103.avzrctgv7476xj7i@alap3.anarazel.de
Backpatch: 9.5-

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b91cfaa34f44386786c64bbf80d296b84ecc811e

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: spinlock emulation: Fix bug when more than INT_MAX spinlocks are
@ 2020-06-17 20:09  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 7+ messages in thread

From: Andres Freund @ 2020-06-17 20:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

spinlock emulation: Fix bug when more than INT_MAX spinlocks are initialized.

Once the counter goes negative we ended up with spinlocks that errored
out on first use (due to check in tas_sema).

Author: Andres Freund
Reviewed-By: Robert Haas
Discussion: https://postgr.es/m/20200606023103.avzrctgv7476xj7i@alap3.anarazel.de
Backpatch: 9.5-

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/34d29222a0bbfd6dd2deecdd91aa202a7b6c3f18

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: spinlock emulation: Fix bug when more than INT_MAX spinlocks are
@ 2020-06-17 20:09  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 7+ messages in thread

From: Andres Freund @ 2020-06-17 20:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

spinlock emulation: Fix bug when more than INT_MAX spinlocks are initialized.

Once the counter goes negative we ended up with spinlocks that errored
out on first use (due to check in tas_sema).

Author: Andres Freund
Reviewed-By: Robert Haas
Discussion: https://postgr.es/m/20200606023103.avzrctgv7476xj7i@alap3.anarazel.de
Backpatch: 9.5-

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b295f666b7f0d613cf3c9fef211408a2ac4ed1f6

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: spinlock emulation: Fix bug when more than INT_MAX spinlocks are
@ 2020-06-17 20:09  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 7+ messages in thread

From: Andres Freund @ 2020-06-17 20:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

spinlock emulation: Fix bug when more than INT_MAX spinlocks are initialized.

Once the counter goes negative we ended up with spinlocks that errored
out on first use (due to check in tas_sema).

Author: Andres Freund
Reviewed-By: Robert Haas
Discussion: https://postgr.es/m/20200606023103.avzrctgv7476xj7i@alap3.anarazel.de
Backpatch: 9.5-

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/660622053419fbb776c7218f2110500b3b034b35

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: spinlock emulation: Fix bug when more than INT_MAX spinlocks are
@ 2020-06-17 20:09  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 7+ messages in thread

From: Andres Freund @ 2020-06-17 20:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

spinlock emulation: Fix bug when more than INT_MAX spinlocks are initialized.

Once the counter goes negative we ended up with spinlocks that errored
out on first use (due to check in tas_sema).

Author: Andres Freund
Reviewed-By: Robert Haas
Discussion: https://postgr.es/m/20200606023103.avzrctgv7476xj7i@alap3.anarazel.de
Backpatch: 9.5-

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/dcf3cb60cbefe6f752c8a1aac5e24d869fd5c52c

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2020-06-17 20:09 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17 20:09 pgsql: spinlock emulation: Fix bug when more than INT_MAX spinlocks are Andres Freund <andres@anarazel.de>
2020-06-17 20:09 pgsql: spinlock emulation: Fix bug when more than INT_MAX spinlocks are Andres Freund <andres@anarazel.de>
2020-06-17 20:09 pgsql: spinlock emulation: Fix bug when more than INT_MAX spinlocks are Andres Freund <andres@anarazel.de>
2020-06-17 20:09 pgsql: spinlock emulation: Fix bug when more than INT_MAX spinlocks are Andres Freund <andres@anarazel.de>
2020-06-17 20:09 pgsql: spinlock emulation: Fix bug when more than INT_MAX spinlocks are Andres Freund <andres@anarazel.de>
2020-06-17 20:09 pgsql: spinlock emulation: Fix bug when more than INT_MAX spinlocks are Andres Freund <andres@anarazel.de>
2020-06-17 20:09 pgsql: spinlock emulation: Fix bug when more than INT_MAX spinlocks are Andres Freund <andres@anarazel.de>

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