On Wed, Jul 17, 2013 at 6:39 PM, Tom Lane <[email protected]> wrote: > Fix a few problems in barrier.h. > > On HPPA, implement pg_memory_barrier() as pg_compiler_barrier(), which > should be correct since this arch doesn't do memory access reordering, > and is anyway better than the completely-nonfunctional-on-this-arch > dummy_spinlock code. (But note this patch only fixes things for gcc, > not for builds with HP's compiler.)
According to the comments in the barrier.h (and s_lock.h), HPPA is PA-RISC. According to http://en.wikipedia.org/wiki/Memory_ordering, PA-RISC has weak memory ordering. So either this commit is wrong, or one of those things is wrong. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
