pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove --disable-spinlocks.
Date: Tue, 30 Jul 2024 11:03:37 +0000
Message-ID: <E1sYkdl-001sbn-GZ@gemulon.postgresql.org> (raw)

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

Branch
------
master

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

Modified Files
--------------
configure                               |  40 -------
configure.ac                            |  13 ---
doc/src/sgml/installation.sgml          |  37 +------
meson.build                             |   6 --
src/backend/port/atomics.c              |  26 -----
src/backend/port/posix_sema.c           |   3 +-
src/backend/port/sysv_sema.c            |   3 +-
src/backend/postmaster/launch_backend.c |   8 --
src/backend/storage/ipc/ipci.c          |  10 --
src/backend/storage/lmgr/Makefile       |   1 -
src/backend/storage/lmgr/meson.build    |   1 -
src/backend/storage/lmgr/s_lock.c       |   2 +-
src/backend/storage/lmgr/spin.c         | 180 --------------------------------
src/include/pg_config.h.in              |   3 -
src/include/pg_config_manual.h          |  15 ---
src/include/port/atomics.h              |   4 +-
src/include/port/atomics/fallback.h     |   4 +-
src/include/storage/s_lock.h            |  39 +------
src/include/storage/spin.h              |  18 +---
src/test/regress/regress.c              |  86 ---------------
20 files changed, 13 insertions(+), 486 deletions(-)



view thread (3+ messages)  latest in thread

Message-ID: <E1sYkdl-001sbn-GZ@gemulon.postgresql.org>
Permalink:  ../E1sYkdl-001sbn-GZ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sYkdl-001sbn-GZ@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove --disable-spinlocks.
  In-Reply-To: <E1sYkdl-001sbn-GZ@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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