Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4012843yba; Tue, 23 Apr 2019 13:30:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqyhVdz7RjidIT3T2fnb8ce41XxCrVE5xkPG3HgkywVMZDhyjTDIL9eTdhXwSrjOJC2VfaNO X-Received: by 2002:a17:902:a01:: with SMTP id 1mr28018004plo.36.1556051429805; Tue, 23 Apr 2019 13:30:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556051429; cv=none; d=google.com; s=arc-20160816; b=OjHB6X33Xt2uZNGVCtiiAilJAbxMJgm3j5oHRhrCdfHlj/BQS+FFGZ+b5vjlT476Zn w5+D3rRXi5dstdu8whEZFWPhoQIHADyltCxkEYoJ7WNQsvCcrGucSucLMqHJkMDU65v3 SS96e4S57fINJ/FOYJYCdraYvx0+WFg6GqkjT8WrbUsCcTe2X5XLsBh1YHYF6o5CDFYZ e1K8X8LPfcbabVihExGD4umAfVh3q9lx+Ybvq74IDyCIM2RQ4ATFq0GQV54a2NSXGtQa RpzbgcOauRal7sppbuZDjbevHlMaVjMYFOwIMv9nMJI1APAWrnmfBYVDp3JYdiMl4Eyt t0Uw== 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; bh=KiKACmn7u8Ne4EWVwN4kuGuFiyqg1S1G81UJ96PS45Q=; b=HGJGv+pmlqb4RITraOIMu3woXwXS2miqH08vUZP5ju0vsmCuCHMO72xprs0oNgZvg2 Er2AiKuUI1nx//iwa6F7MHM93zVlG9PEOh6VuElgNaYc0ZdHbjjngnrp/5jJJhgEn2mG e09IUsoWN4ae04x43xSVJkHiRQMtVjoHphMsoJg6SAdjOEVx2z4rcKVZYqkOcw7hr5pj OdLURSz9cEwQr66d1O87w6QcoyQVIU0bMQXWJR+kj7DEJOk1b1zWa4ftrvgnHjMqGRXH UPkEFc00Y/Dk0IG7qeUpTIQT1S7oAoXo3latIdmaLxagUhVUekX0sIMWajD2wfwLoKO7 Ttng== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=o4FPYx8b; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p66si18102855pfp.228.2019.04.23.13.30.14; Tue, 23 Apr 2019 13:30:29 -0700 (PDT) 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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=o4FPYx8b; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727367AbfDWU2o (ORCPT + 99 others); Tue, 23 Apr 2019 16:28:44 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:34302 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726088AbfDWU2o (ORCPT ); Tue, 23 Apr 2019 16:28:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=KiKACmn7u8Ne4EWVwN4kuGuFiyqg1S1G81UJ96PS45Q=; b=o4FPYx8by33iKGa6/AW475dRj J/fe4YYodgtl5b8jau2XTMWfERZ0Q0e9biO9gErcs5VdoNrcdl/2kPlBJKqrina5X1y/Tl5HGrjx/ B0NnUT+6zB3ke3GnvIHhlrvOIzx1HMzcaJORMdgNf5u1bvnZ5T75OK/SEJznobqj0Gph6g06I0tqd gv1wRpkl9r9zQH5quGxwGjemBdl3ViV0WG5rOFprDHD8T3Y2uiUEZiSmANlQIZMuPA3qKzH6FlinA N7L0JX7ySm/600orb6DxdBuZ+tkp4OaZ/RB+hBX+BZnqYcEZ08c9qWupNrDzX53vNbW18dXW9lQF6 Rz5rQK++Q==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hJ21p-00050r-0z; Tue, 23 Apr 2019 20:28:33 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 8810129C3F1EB; Tue, 23 Apr 2019 22:28:31 +0200 (CEST) Date: Tue, 23 Apr 2019 22:28:31 +0200 From: Peter Zijlstra To: "Paul E. McKenney" Cc: Nicholas Piggin , LKMM Maintainers -- Akira Yokosawa , Andrea Parri , Boqun Feng , David Howells , Daniel Lustig , Jade Alglave , Kernel development list , Luc Maranget , Alan Stern , Will Deacon Subject: Re: [PATCH] Documentation: atomic_t.txt: Explain ordering provided by smp_mb__{before,after}_atomic() Message-ID: <20190423202831.GA4038@hirez.programming.kicks-ass.net> References: <20190419180017.GP4038@hirez.programming.kicks-ass.net> <20190419182620.GF14111@linux.ibm.com> <1555719429.t9n8gkf70y.astroid@bobo.none> <20190420085440.GK14111@linux.ibm.com> <20190423121715.GQ4038@hirez.programming.kicks-ass.net> <20190423132116.GJ3923@linux.ibm.com> <20190423132620.GU4038@hirez.programming.kicks-ass.net> <20190423201637.GW3923@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190423201637.GW3923@linux.ibm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 23, 2019 at 01:16:37PM -0700, Paul E. McKenney wrote: > Agreed, but I thought that one of the ideas going forward was to get > rid of smp_mb__{before,after}_atomic(). It's not one I had considered.. I just wanted to get rid of this 'surprise' behaviour.