postgresql/src/include/port/atomics
Noah Misch 213c7df033 Impose a full barrier in generic-xlc.h atomics functions.
pg_atomic_compare_exchange_*_impl() were providing only the semantics of
an acquire barrier.  Buildfarm members hornet and mandrill revealed this
deficit beginning with commit 008608b9d5.
While we have no report of symptoms in 9.5, we can't rule out the
possibility of certain compilers, hardware, or extension code relying on
these functions' specified barrier semantics.  Back-patch to 9.5, where
commit b64d92f1a5 introduced atomics.

Reviewed by Andres Freund.
2016-04-26 21:53:58 -04:00
..
arch-arm.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
arch-hppa.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
arch-ia64.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
arch-ppc.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
arch-x86.h Fix typo in comment 2016-01-08 08:54:40 +01:00
fallback.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
generic-acc.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
generic-gcc.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
generic-msvc.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
generic-sunpro.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
generic-xlc.h Impose a full barrier in generic-xlc.h atomics functions. 2016-04-26 21:53:58 -04:00
generic.h Fix minor typo in comment 2016-01-15 10:24:37 +01:00