From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH] locking/xchg/alpha: Remove memory barriers from the _local() variants Date: Wed, 28 Feb 2018 10:58:11 +0000 Message-ID: <20180228105810.GB7681@arm.com> References: <1519704058-13430-1-git-send-email-parri.andrea@gmail.com> <20180227200830.GA3164@andrea> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20180227200830.GA3164@andrea> Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andrea Parri Cc: Ingo Molnar , Peter Zijlstra , linux-kernel@vger.kernel.org, "Paul E . McKenney" , Alan Stern , Andrew Morton , Ivan Kokshaysky , Linus Torvalds , Matt Turner , Richard Henderson , Thomas Gleixner , linux-alpha@vger.kernel.org On Tue, Feb 27, 2018 at 09:08:31PM +0100, Andrea Parri wrote: > [+ Will] > > I'm not sure how this happened; Will, you at least figure as Reported-by: ;-) Thanks, this looks better to me. Have you build an Alpha kernel to check that the various cmpxchg variants are producing the expected asm? Will