From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Paul E. McKenney" Subject: Re: [RFC][PATCH 0/5] arch: atomic rework Date: Thu, 20 Feb 2014 10:11:46 -0800 Message-ID: <20140220181146.GU4250@linux.vnet.ibm.com> References: <1392740258.18779.7732.camel@triegel.csb> <1392752867.18779.8120.camel@triegel.csb> <20140220040102.GM4250@linux.vnet.ibm.com> <20140220083032.GN4250@linux.vnet.ibm.com> <1392918846.18779.10204.camel@triegel.csb> Reply-To: paulmck@linux.vnet.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from e38.co.us.ibm.com ([32.97.110.159]:55325 "EHLO e38.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752939AbaBTSMD (ORCPT ); Thu, 20 Feb 2014 13:12:03 -0500 Received: from /spool/local by e38.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 20 Feb 2014 11:12:01 -0700 Content-Disposition: inline In-Reply-To: <1392918846.18779.10204.camel@triegel.csb> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Torvald Riegel Cc: Linus Torvalds , Will Deacon , Peter Zijlstra , Ramana Radhakrishnan , David Howells , "linux-arch@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "akpm@linux-foundation.org" , "mingo@kernel.org" , "gcc@gcc.gnu.org" On Thu, Feb 20, 2014 at 06:54:06PM +0100, Torvald Riegel wrote: > xagsmtp4.20140220175519.1127@vmsdvm6.vnet.ibm.com > X-Xagent-Gateway: vmsdvm6.vnet.ibm.com (XAGSMTP4 at VMSDVM6) > > On Thu, 2014-02-20 at 00:30 -0800, Paul E. McKenney wrote: > > Well, all the compilers currently convert consume to acquire, so you have > > your wish there. Of course, that also means that they generate actual > > unneeded memory-barrier instructions, which seems extremely sub-optimal > > to me. > > GCC doesn't currently, but it also doesn't seem to track the > dependencies, but that's a bug: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59448 Ah, cool! Thanx, Paul