Remove --disable-spinlocks.
authorThomas Munro <tmunro@postgresql.org>
Tue, 30 Jul 2024 09:45:01 +0000 (21:45 +1200)
committerThomas Munro <tmunro@postgresql.org>
Tue, 30 Jul 2024 10:58:37 +0000 (22:58 +1200)
commite25626677f8076eb3ce94586136c5464ee154381
treef03f87af97b998e2dd5aadcfe8a93a83a1ae716b
parent1330843bb78e9d2422af2f2b9909b80732bd6fc0
Remove --disable-spinlocks.

A later change will require atomic support, so it wouldn't make sense
for a hypothetical new system not to be able to implement spinlocks.

Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> (concept, not the patch)
Reviewed-by: Andres Freund <andres@anarazel.de> (concept, not the patch)
Discussion: https://postgr.es/m/3351991.1697728588%40sss.pgh.pa.us
20 files changed:
configure
configure.ac
doc/src/sgml/installation.sgml
meson.build
src/backend/port/atomics.c
src/backend/port/posix_sema.c
src/backend/port/sysv_sema.c
src/backend/postmaster/launch_backend.c
src/backend/storage/ipc/ipci.c
src/backend/storage/lmgr/Makefile
src/backend/storage/lmgr/meson.build
src/backend/storage/lmgr/s_lock.c
src/backend/storage/lmgr/spin.c [deleted file]
src/include/pg_config.h.in
src/include/pg_config_manual.h
src/include/port/atomics.h
src/include/port/atomics/fallback.h
src/include/storage/s_lock.h
src/include/storage/spin.h
src/test/regress/regress.c