Thomas Munro <thomas.mu...@gmail.com> writes: > Here are some experimental patches to try out some ideas mentioned > upthread, that are approximately unlocked by that cleanup.
FWIW, I'm good with getting rid of --disable-spinlocks and --disable-atomics. That's a fair amount of code and needing to support it causes problems, as you say. I am very much less excited about ripping out our spinlock and/or atomics code in favor of <stdatomic.h>; I just don't see the gain there, and I do see risk in ceding control of the semantics and performance of those primitives. regards, tom lane