postgresql/src/include
Tom Lane bb65cb8cdf Use __sync_lock_test_and_set() for spinlocks on ARM, if available.
Historically we've used the SWPB instruction for TAS() on ARM, but this
is deprecated and not available on ARMv6 and later.  Instead, make use
of a GCC builtin if available.  We'll still fall back to SWPB if not,
so as not to break existing ports using older GCC versions.

Eventually we might want to try using __sync_lock_test_and_set() on some
other architectures too, but for now that seems to present only risk and
not reward.

Back-patch to all supported versions, since people might want to use any
of them on more recent ARM chips.

Martin Pitt
2012-01-07 15:39:05 -05:00
..
access Fix timing of Startup CLOG and MultiXact during Hot Standby 2011-11-02 08:03:21 +00:00
bootstrap Introduce Streaming Replication. 2010-01-15 09:19:10 +00:00
catalog Fix permissions on pg_largeobject_metadata.h in 9.0 branch. 2011-09-11 13:17:12 -04:00
commands Fix VACUUM so that it always updates pg_class.reltuples/relpages. 2011-05-30 17:07:07 -04:00
executor Fix PlanRowMark/ExecRowMark structures to handle inheritance correctly. 2011-01-12 20:47:09 -05:00
foreign Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
lib Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
libpq Add new message for explicit rejection by pg_hba.conf. Implicit 2010-04-19 19:02:18 +00:00
mb pgindent run for 9.0 2010-02-26 02:01:40 +00:00
nodes Ensure that whole-row junk Vars are always of composite type. 2011-11-27 22:27:39 -05:00
optimizer Fix nested PlaceHolderVar expressions that appear only in targetlists. 2011-08-09 00:49:04 -04:00
parser Make OFF keyword unreserved. It's not hard to imagine wanting to use 'off' 2010-10-22 17:44:36 +03:00
port Backport changes to allow building with MinGW 64 bit compiler. 2011-04-09 17:59:27 -04:00
portability Support inlining various small performance-critical functions on non-GCC 2010-02-13 02:34:16 +00:00
postmaster pgindent run for 9.0 2010-02-26 02:01:40 +00:00
regex Teach the regular expression functions to do case-insensitive matching and 2009-12-01 21:00:24 +00:00
replication Remove prototype for non-existent function from walreceiver.h. Tidy up by 2010-09-13 10:14:30 +00:00
rewrite pgindent run for 9.0 2010-02-26 02:01:40 +00:00
snowball Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
storage Use __sync_lock_test_and_set() for spinlocks on ARM, if available. 2012-01-07 15:39:05 -05:00
tcop pgindent run for 9.0 2010-02-26 02:01:40 +00:00
tsearch Update a number of broken links in comments. 2010-04-02 15:21:20 +00:00
utils Revert the behavior of inet/cidr functions to not unpack the arguments. 2011-12-12 10:05:24 +02:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:06 +02:00
c.h Backport changes to allow building with MinGW 64 bit compiler. 2011-04-09 17:59:27 -04:00
fmgr.h Mark PG_MODULE_MAGIC and PG_FUNCTION_INFO_V1 with PGDLLEXPORT 2010-05-27 07:59:48 +00:00
funcapi.h pgindent run for 9.0 2010-02-26 02:01:40 +00:00
getaddrinfo.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
getopt_long.h Remove optreset from src/port/ implementations of getopt and getopt_long. 2010-12-16 16:22:12 -05:00
Makefile Fix server header file installation with vpath builds 2011-11-10 20:55:39 +02:00
miscadmin.h Clean up some randomness associated with trace_recovery_messages: don't 2010-06-17 17:44:40 +00:00
pg_config.h.in Use __sync_lock_test_and_set() for spinlocks on ARM, if available. 2012-01-07 15:39:05 -05:00
pg_config.h.win32 Stamp 9.0.6. 2011-12-01 16:49:59 -05:00
pg_config_manual.h Remove all the special-case code for INT64_IS_BUSTED, per decision that 2010-01-07 04:53:35 +00:00
pg_trace.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
pgstat.h Fix VACUUM so that it always updates pg_class.reltuples/relpages. 2011-05-30 17:07:07 -04:00
pgtime.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
port.h Move the line to undefine setlocale() macro on Win32 outside USE_REPL_SNPRINTF 2011-09-01 09:18:27 +03:00
postgres.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
postgres_ext.h Move NAMEDATALEN definition from postgres_ext.h to pg_config_manual.h. It 2007-02-06 09:16:08 +00:00
postgres_fe.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
rusagestub.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
windowapi.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00