Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1111617imm; Fri, 14 Sep 2018 11:22:00 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYAFQaIR2YU2tZTb+7yAtdatRZPkrqchnmmzxsQNuEwhAaSEE7j/ELUoyFYkuKvv7kTyW/j X-Received: by 2002:a62:c406:: with SMTP id y6-v6mr13821434pff.161.1536949320601; Fri, 14 Sep 2018 11:22:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536949320; cv=none; d=google.com; s=arc-20160816; b=RS0BQzglq+tfXzYVJvWZxzCiK33I90akfVLGWlcH7IRLvEXGCj7OGh5gXwPMrwbRpq Q7vWmYCYTGPVqMXAuwRWzqVftyjhhUcpKXXcBb5yjrgeJs0wc5w490EmGoUwXd9sXMmB du6joeNysldQtx8VAdpDh+4Z54v+c+PoC4RQJS4YynOKuP2EKRT900XEyWjhn0c/QIU8 e3FsKAkUxiPz159AmAfdRcXtXWDM2fdyFomATAvJep9WNfCx9PEay3FzcxcF2U7ENg/C JyjGrHMW6BdaSOUzq3NqZHZnQ2dbiGcXAw0wevvA8WEG4c7nGS1HDJk4ldE6Uv0EESps NevQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:subject:cc:to :from:date; bh=tIiU6hTEF6XepLusgO3+rDoiE8AWKIWYR7qT4bVm+lI=; b=gwZkk7V/2cweY4hhAlst5Ob4DtvBDhdLk8/s1XF605f+M9NIQfEoS7oHLWeFvdvM2t 1/8+l07fRPfXI6f5b0ebISgujTmRf6F+OPXSq3EwaloV1PkBFLK22LsQqNBDCSfc5cCy b6R94vUKdZsrDN9jPmxvK0Gcia8trF7+766A6P/t6RsWZ5XCNzrA3AsjGvedDsspfnjO GPGeY2ZUpRkiWaE4FVvLS8gTxb//qsrrIG8bHxtIZYKzbsgoGNmHJjy7z480yia6U2ou TPPA6u5S6DOGdiY1ePSkAodS9914jjK97g9hAAM33e/CIi9YP/lSKnbB+HGc+d8fqgXF mPbQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d24-v6si7978276pls.477.2018.09.14.11.21.45; Fri, 14 Sep 2018 11:22:00 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728036AbeINXf4 (ORCPT + 99 others); Fri, 14 Sep 2018 19:35:56 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:37508 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726849AbeINXf4 (ORCPT ); Fri, 14 Sep 2018 19:35:56 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w8EI9SM6094314 for ; Fri, 14 Sep 2018 14:20:16 -0400 Received: from e16.ny.us.ibm.com (e16.ny.us.ibm.com [129.33.205.206]) by mx0a-001b2d01.pphosted.com with ESMTP id 2mgfmjxd08-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 14 Sep 2018 14:20:16 -0400 Received: from localhost by e16.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 14 Sep 2018 14:20:15 -0400 Received: from b01cxnp22035.gho.pok.ibm.com (9.57.198.25) by e16.ny.us.ibm.com (146.89.104.203) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 14 Sep 2018 14:20:10 -0400 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22035.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w8EIK93b45482014 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 14 Sep 2018 18:20:09 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1D4A1B2068; Fri, 14 Sep 2018 14:18:45 -0400 (EDT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F1B5EB2066; Fri, 14 Sep 2018 14:18:44 -0400 (EDT) Received: from paulmck-ThinkPad-W541 (unknown [9.70.82.159]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Fri, 14 Sep 2018 14:18:44 -0400 (EDT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 97D0116C1B39; Fri, 14 Sep 2018 11:20:09 -0700 (PDT) Date: Fri, 14 Sep 2018 11:20:09 -0700 From: "Paul E. McKenney" To: Will Deacon Cc: "Paul E. McKenney" , 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() Reply-To: paulmck@linux.ibm.com References: <20180829211018.GA19646@linux.vnet.ibm.com> <20180829211053.20531-2-paulmck@linux.vnet.ibm.com> <20180914165907.GK6236@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180914165907.GK6236@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18091418-0072-0000-0000-000003A2F7BE X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009721; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000266; SDB=6.01088300; UDB=6.00562047; IPR=6.00868311; MB=3.00023294; MTD=3.00000008; XFM=3.00000015; UTC=2018-09-14 18:20:14 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18091418-0073-0000-0000-0000496BD318 Message-Id: <20180914182009.GB652@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-09-14_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=958 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809140186 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 14, 2018 at 05:59:07PM +0100, Will Deacon wrote: > 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 Applied, thank you Will! Thanx, Paul