mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
Use an LWLock instead of a spinlock in waitlsn.c
This should prevent busy-waiting when number of waiting processes is high. Discussion: https://postgr.es/m/202404030658.hhj3vfxeyhft%40alvherre.pgsql Author: Alvaro Herrera
This commit is contained in:
@@ -83,3 +83,4 @@ PG_LWLOCK(49, WALSummarizer)
|
||||
PG_LWLOCK(50, DSMRegistry)
|
||||
PG_LWLOCK(51, InjectionPoint)
|
||||
PG_LWLOCK(52, SerialControl)
|
||||
PG_LWLOCK(53, WaitLSN)
|
||||
|
||||
Reference in New Issue
Block a user