Robert Haas <[email protected]> writes:
> According to http://en.wikipedia.org/wiki/Memory_ordering, PA-RISC has
> weak memory ordering.

BTW, so far as I can see, their reference for that claim is the two
articles by Paul McKenney; but what McKenney actually says is

        Although the PA-RISC architecture permits full reordering of
        loads and stores, actual CPUs run fully ordered. This means the
        Linux kernel's memory-ordering primitives generate no code; they
        do, however, use the GCC memory attribute to disable compiler
        optimizations that would reorder code across the memory barrier.

So the committed patch duplicates what the kernel does (unless someone
cares to dig into the kernel and show otherwise).

                        regards, tom lane


-- 
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to