Re: Removing shm_mq.c's volatile qualifiers

From: Andres Freund <andres(at)anarazel(dot)de>
To: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Removing shm_mq.c's volatile qualifiers
Date: 2018-03-02 00:30:00
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


On 2018-02-12 12:52:32 +1300, Thomas Munro wrote:
> From e584628bb846be11a137b5216e955284dfd646a5 Mon Sep 17 00:00:00 2001
> From: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
> Date: Thu, 8 Feb 2018 18:50:32 +1300
> Subject: [PATCH] Remove volatile qualifiers from shm_mq.c.
> Since commit 0709b7ee, spinlock primitives include a compiler barrier so
> it is no longer necessary to access either spinlocks or the memory they
> protect through pointer-to-volatile. Like earlier commits e93b6298, d53e3d5f,
> 430008b5, 8f6bb851, df4077cd.




In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2018-03-02 00:47:14 Re: [HACKERS] make async slave to wait for lsn to be replayed
Previous Message Andres Freund 2018-03-02 00:29:57 Re: [HACKERS] Fix warnings and typo in dshash