From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Paul E. McKenney" Date: Fri, 03 Feb 2012 20:19:11 +0000 Subject: Re: Memory corruption due to word sharing Message-Id: <20120203201911.GL2382@linux.vnet.ibm.com> List-Id: References: <20120201224554.GK2382@linux.vnet.ibm.com> <20120202184209.GD2518@linux.vnet.ibm.com> <20120202193747.GG2518@linux.vnet.ibm.com> <4F2C0D8A.70103@redhat.com> <4F2C329B.2080107@redhat.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Linus Torvalds Cc: Andrew MacLeod , Torvald Riegel , Jan Kara , LKML , linux-ia64@vger.kernel.org, dsterba@suse.cz, ptesarik@suse.cz, rguenther@suse.de, gcc@gcc.gnu.org On Fri, Feb 03, 2012 at 12:00:03PM -0800, Linus Torvalds wrote: > On Fri, Feb 3, 2012 at 11:16 AM, Andrew MacLeod wrote: [ . . . ] > Having access to __ATOMIC_ACQUIRE would actually be an improvement - > it's just that the architectures that really care about things like > that simply don't matter enough for us to really worry about them > (ia64 being the prime example), and everybody else either doesn't need > extra barriers at all (x86), or might as well use a full barrier (most > everything else). I believe that version 8 of the ARM architecture will provide load-acquire and store-release instructions. Thanx, Paul