From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752542AbeB1K6L (ORCPT ); Wed, 28 Feb 2018 05:58:11 -0500 Received: from foss.arm.com ([217.140.101.70]:47716 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752477AbeB1K6J (ORCPT ); Wed, 28 Feb 2018 05:58:09 -0500 Date: Wed, 28 Feb 2018 10:58:11 +0000 From: Will Deacon 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 Subject: Re: [PATCH] locking/xchg/alpha: Remove memory barriers from the _local() variants Message-ID: <20180228105810.GB7681@arm.com> References: <1519704058-13430-1-git-send-email-parri.andrea@gmail.com> <20180227200830.GA3164@andrea> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180227200830.GA3164@andrea> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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