Received: by 10.223.185.116 with SMTP id b49csp6065049wrg; Wed, 28 Feb 2018 03:27:16 -0800 (PST) X-Google-Smtp-Source: AH8x224Lb2uhzbrYUb21d6UIKO1q/ZWXwp45YOsHda4zKE0HCqL0FH/rzLWrlMpOJJPJY3JYCQyZ X-Received: by 2002:a17:902:6ecf:: with SMTP id l15-v6mr17732927pln.443.1519817236100; Wed, 28 Feb 2018 03:27:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519817236; cv=none; d=google.com; s=arc-20160816; b=iz86eQ1+D4/nZ8UsbiEhL22yi6qUSS6WmnQ/WD1Xwguijue7mRliOz/LYOPS+bXVSi eF2G2em0SgZ1yTQZhynfM/75pA1ENaKy4FugC8RAg8XZUQxXyji42JyAUqrO8D8NCZhv +C3MuVZM5T8hDB/aP254/w91vPxdeZ58SddDONLnaY0WkRO/fiKkviy+J12CVrMMrBfY wzavOZ2YEvwIvpkb5bQNuivZM8A4Ew9/2PlERs2WujBfUlImqKdUONpQjwyL7iuRmMaL G1M7wNLS8acgWiT+YZRBOtZ1rVipMWfUL7Eu9wLGRwgu+sGVS7lRuyG9A8Y1b62YyEbQ S0bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=duvKUW6jLl5q9FR3faVYUjszcuHxxZYmjnJXmvaBrjY=; b=T6hcsfOhx2ypHgEV+2TEDTG4iUOYCjItIh5v/s1ceY3tc264J49JfkUMyrGls4550v rd5GkjVSod5szofvSAW4vzrhqecDX6LLEtttqCQNnl0lXp6LdU9SjJaouk844Eota6gw 884lc6OtQyyH527R6Mz/aaf2TQAePD/7QPPJb2ZCf+VywDZGObm2hcwa5W2ZoTcjW++Q lHYdSQGis4+SIxk3w91KfBWEnhsEVKJtvef/4Ct48ijX76+Uy20ysUdV19OrAEZNmsW1 KgfTyEEpP9p3PN4dnZEdFKaUE0eBwoYSIuNWPABZKNzggp6Fs4oIyl8Z1wMpcp8ljIIW DhiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vgUg/LTm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h6-v6si1151487pln.198.2018.02.28.03.27.01; Wed, 28 Feb 2018 03:27:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vgUg/LTm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752366AbeB1L0T (ORCPT + 99 others); Wed, 28 Feb 2018 06:26:19 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35413 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752301AbeB1L0R (ORCPT ); Wed, 28 Feb 2018 06:26:17 -0500 Received: by mail-wm0-f66.google.com with SMTP id x7so4375616wmc.0; Wed, 28 Feb 2018 03:26:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=duvKUW6jLl5q9FR3faVYUjszcuHxxZYmjnJXmvaBrjY=; b=vgUg/LTmMjpzloJKeVDb43auoUS8XmPpwFzS47z/kGHFiHJKgQRhG3sxzhp7qG0apL 1lz4iueVON+aRyjXRciky6nvKybzaKPcmj/vIBbM8Sqpe3yb8S8cRKQQbwFbw+d+AKPO MwyjwOFX8evP61wKnDD3J6geXmIU2BvAE6QucuQg76vU14JYAiPbdwWGbOXlTObREua4 ETHdU2GYh9Mp3FMAOvN1SkOHifDvNxU2acqh4YMsSJxLhhmvJkoKOlyTR7KMv/ryq8tf fPnojMWbKaxcoAdYH2WErkFyyVSVTyHb7C9ZqAAe0n9BDXsYJwE2SRPQonCtMmYu+0NC qwTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=duvKUW6jLl5q9FR3faVYUjszcuHxxZYmjnJXmvaBrjY=; b=nsyVKvTKC+OpSnHzbeQF6SNtYb4S7OgLDZl2/D/ii9Z7/yoeupl3v9twKlwXK/03Jl 1TKEXMs0feYshGJ/fD6bpEd4kZvnxkVp92X20x4QFZHlxqCXu0+//yqEbB18NFCq8rXB 4swpqrzUUZg7ldeDE6dADiyU1X+O8f9mBRCgvNtaw2vqb73fJLYM12BkQwINV17QHRMO h2DSMwPAWgzez3z25LVB3fY+SyLZZet0xmv6toB/6pCWay82Dwk2t7b5oIv+lzJ4veBc wy9zjIMpfjKfwyJJh6EU4BWj7eeY43WcEYvS3+Q4oe7eO31TgJm14EUJMk6wktNroNSm k7fg== X-Gm-Message-State: APf1xPDkQAKjwxDth45JzOqO5SsH93RZlqjggDJzwxJx/BUjZjJVuy5c bLhmb0M0iOYZZQveWbEmEA8= X-Received: by 10.28.191.70 with SMTP id p67mr13124692wmf.17.1519817175726; Wed, 28 Feb 2018 03:26:15 -0800 (PST) Received: from andrea (85.100.broadband17.iol.cz. [109.80.100.85]) by smtp.gmail.com with ESMTPSA id n13sm1271655wra.41.2018.02.28.03.26.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Feb 2018 03:26:15 -0800 (PST) Date: Wed, 28 Feb 2018 12:26:09 +0100 From: Andrea Parri To: Will Deacon 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: <20180228112609.GA32523@andrea> References: <1519704058-13430-1-git-send-email-parri.andrea@gmail.com> <20180227200830.GA3164@andrea> <20180228105810.GB7681@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180228105810.GB7681@arm.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 28, 2018 at 10:58:11AM +0000, Will Deacon wrote: > 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? Indeed. Compile tested (only). Andrea > > Will