Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1027212imm; Fri, 14 Sep 2018 09:59:29 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYtlpGZDI2++2KRQC58JSzKOUxEkFVGps3FkgBNbgbvNhhAhjqLlm8kAyd56r4oFzcnWK6r X-Received: by 2002:a63:4a4b:: with SMTP id j11-v6mr12813070pgl.168.1536944369087; Fri, 14 Sep 2018 09:59:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536944369; cv=none; d=google.com; s=arc-20160816; b=IMwGFPZ1WyOV1u4Q0QkQZVtluxwuaRYVk2z849uC8QoVgKaUwlDIpU6Ao15gGqDcnf HeIQCGH3Rf1oJmIauLPF37LIiHLOtteHWS44dv0EHtbAw7iITBP/IBxpMGXu9wIAvH/4 faLaF7cCEaV7hVW1j1RyyL1I8QByl+QrxHbmFsYnb1zqw9AdMiia9IS/zE6+xx1B6oR3 3PdQ0zBJRY3YSQZCH0WLPeefCa7V+j9FzjRaDNDfFDMF72TFk36/WTJHyowEJOEQNwUb LKtIswRBXkUcvHjdKfP5PVYPmDrZxfP9Dwf4C7Bu4BguDM0O6Oo4F2Coft8LGgXQZ0MS Kr1Q== 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; bh=NtoP56BKuhLVP/Fg46HjuumwrJ7cfvCnmXfcP8bzy3Q=; b=FR51fvsqFegJIO8yM7XKKGIwXLskw6G0g4paOocWph+NDjdX753yNwUqzL7lUpz4cl w9Sd1jatU5q6yijcicAhwoOcck3WRKip5Vga1W9WWzwpkPYrGF+xK3Md5V7fQ6TvLOOB QUGtZSt1iJD0FUWJ2ebsJ78ZrB1SsWAz5enIfYmGWptYA9Nu9gGnpRNjayMXKNoFGEef 68NFy9H78ZZS7OGlKhdBeK72WCEdctXARi3qRr4koweERShbM7W8I5QuLAvJ9X+BBemq 5Qu7yppgneCEdHrPfoI9Jp4COMSHnkEkhN2GM9UAmbySJdviMYr2gIaKDu2zXo5yg9gy nktA== ARC-Authentication-Results: i=1; mx.google.com; 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 d4-v6si7273851pgl.147.2018.09.14.09.59.14; Fri, 14 Sep 2018 09:59: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; 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 S1728212AbeINWOL (ORCPT + 99 others); Fri, 14 Sep 2018 18:14:11 -0400 Received: from foss.arm.com ([217.140.101.70]:36668 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727095AbeINWOL (ORCPT ); Fri, 14 Sep 2018 18:14:11 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3C7EF80D; Fri, 14 Sep 2018 09:58:50 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 0CDE13F557; Fri, 14 Sep 2018 09:58:50 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 9F8321AE2F82; Fri, 14 Sep 2018 17:59:07 +0100 (BST) Date: Fri, 14 Sep 2018 17:59:07 +0100 From: Will Deacon To: "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, mingo@kernel.org, stern@rowland.harvard.edu, parri.andrea@gmail.com, peterz@infradead.org, boqun.feng@gmail.com, npiggin@gmail.com, dhowells@redhat.com, j.alglave@ucl.ac.uk, luc.maranget@inria.fr, akiyks@gmail.com, Andrea Parri , Daniel Lustig , Jonathan Corbet Subject: Re: [PATCH RFC LKMM 2/7] doc: Replace smp_cond_acquire() with smp_cond_load_acquire() Message-ID: <20180914165907.GK6236@arm.com> References: <20180829211018.GA19646@linux.vnet.ibm.com> <20180829211053.20531-2-paulmck@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180829211053.20531-2-paulmck@linux.vnet.ibm.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 29, 2018 at 02:10:48PM -0700, Paul E. McKenney wrote: > From: Andrea Parri > > Amend commit 1f03e8d2919270 ("locking/barriers: Replace smp_cond_acquire() > with smp_cond_load_acquire()") by updating the documentation accordingly. > Also remove some obsolete information related to the implementation. > > Signed-off-by: Andrea Parri > Cc: Alan Stern > Cc: Will Deacon > Cc: Peter Zijlstra > Cc: Boqun Feng > Cc: Nicholas Piggin > Cc: David Howells > Cc: Jade Alglave > Cc: Luc Maranget > Cc: "Paul E. McKenney" > Cc: Akira Yokosawa > Cc: Daniel Lustig > Cc: Jonathan Corbet > Signed-off-by: Paul E. McKenney > --- > Documentation/memory-barriers.txt | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt > index 0d8d7ef131e9..c1d913944ad8 100644 > --- a/Documentation/memory-barriers.txt > +++ b/Documentation/memory-barriers.txt > @@ -471,8 +471,7 @@ And a couple of implicit varieties: > operations after the ACQUIRE operation will appear to happen after the > ACQUIRE operation with respect to the other components of the system. > ACQUIRE operations include LOCK operations and both smp_load_acquire() > - and smp_cond_acquire() operations. The later builds the necessary ACQUIRE > - semantics from relying on a control dependency and smp_rmb(). > + and smp_cond_load_acquire() operations. Thanks for fixing the doc: Acked-by: Will Deacon Will