On Wed, Oct 7, 2015 at 8:52 AM, Robert Haas <[email protected]> wrote: > On Thu, Oct 1, 2015 at 11:01 PM, Michael Paquier > <[email protected]> wrote: >>> Right, see attached. >> >> It seems to me that we could as well simplify checkpoint.c and >> logical.c. In those files volatile casts are used as well to protect >> from reordering for spinlock operations. See for example 0002 on top >> of 0001 that is Thomas' patch. > > These patches look good to me, so I have committed them.
Thanks. Also, spin.h's comment contains an out of date warning about this. Here's a suggested fix for that, and a couple more volatrivia patches. -- Thomas Munro http://www.enterprisedb.com
spin-header-comment.patch
Description: Binary data
strip-volatile-hash.patch
Description: Binary data
strip-volatile-ipc.patch
Description: Binary data
-- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
