postgresql/src/include/storage
Tom Lane 8ded65682b Remove configurability of PPC spinlock assembly code.
Assume that we can use LWARX hint flags and the LWSYNC instruction
on any PPC machine.  The check on the assembler's behavior was only
needed for Apple's old assembler, which is no longer of interest
now that we've de-supported all PPC-era versions of macOS (thanks
to them not having clock_gettime()).  Also, given an up-to-date
assembler these instructions work even on Apple's old hardware.
It seems quite unlikely that anyone would be interested in running
current Postgres on PPC hardware that's so old as to not have
these instructions.

Hence, rip out associated configure test and manual configuration
options, and just use the modernized instructions all the time.
Also, update atomics/arch-ppc.h to use these instructions as well.
(It was already using LWSYNC unconditionally in another place,
providing further proof that nobody is using PG on hardware old
enough to have a problem with that.)

Discussion: https://postgr.es/m/166622.1660323391@sss.pgh.pa.us
2022-08-13 13:36:39 -04:00
..
.gitignore When trace_lwlocks is used, identify individual lwlocks by name. 2015-09-11 14:01:39 -04:00
backendid.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
barrier.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
block.h Convert macros to static inline functions (block.h) 2022-07-07 08:36:51 +02:00
buf.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
buf_internals.h Convert macros to static inline functions (buf_internals.h) 2022-07-27 13:54:37 -04:00
buffile.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
bufmgr.h Fix inconsistent comments for some function declarations in headers 2022-08-04 17:36:21 +09:00
bufpage.h Support gcc -fkeep-inline-functions 2022-07-15 12:12:30 +02:00
checksum.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
checksum_impl.h Convert macros to static inline functions (bufpage.h) 2022-07-11 07:21:52 +02:00
condition_variable.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
copydir.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
dsm.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
dsm_impl.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
fd.h Remove durable_rename_excl() 2022-07-05 12:54:25 +09:00
fileset.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
freespace.h Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
fsm_internals.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
indexfsm.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
ipc.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
item.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
itemid.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
itemptr.h Convert macros to static inline functions (itemptr.h) 2022-07-13 14:47:36 +02:00
large_object.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
latch.h Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
lmgr.h Add new block-by-block strategy for CREATE DATABASE. 2022-03-29 11:48:36 -04:00
lock.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
lockdefs.h Add missing space in comments. 2022-07-21 16:25:07 +05:30
lwlock.h Fix lock assertions in dshash.c. 2022-07-11 16:43:29 +12:00
md.h Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
off.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_sema.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_shmem.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
pmsignal.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
predicate.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
predicate_internals.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
proc.h Repurpose PROC_COPYABLE_FLAGS as PROC_XMIN_FLAGS 2022-05-19 16:20:32 +02:00
procarray.h Fix possible recovery trouble if TRUNCATE overlaps a checkpoint. 2022-03-24 14:52:28 -04:00
proclist.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
proclist_types.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
procsignal.h Fix DROP {DATABASE,TABLESPACE} on Windows. 2022-02-12 10:21:23 +13:00
reinit.h Clean up some residual confusion between OIDs and RelFileNumbers. 2022-07-28 10:20:29 -04:00
relfilelocator.h Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
s_lock.h Remove configurability of PPC spinlock assembly code. 2022-08-13 13:36:39 -04:00
sharedfileset.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
shm_mq.h shm_mq_sendv: Fix flushing bug when receiver not yet attached. 2022-05-31 08:46:54 -04:00
shm_toc.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
shmem.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
sinval.h Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
sinvaladt.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
smgr.h Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
spin.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
standby.h Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
standbydefs.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
sync.h Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00