Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1095060imm; Wed, 26 Sep 2018 11:32:30 -0700 (PDT) X-Google-Smtp-Source: ACcGV60lCyrzU9bv9ET0+t561GQrrkWsgBi7kVhYah45AUpsKxsV4AQ8QqwmYy4Bho5DvuOy2ZWF X-Received: by 2002:a17:902:ba8b:: with SMTP id k11-v6mr7440067pls.12.1537986750845; Wed, 26 Sep 2018 11:32:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537986750; cv=none; d=google.com; s=arc-20160816; b=EnGxU61ZEn40zj3qBIrl4Gh4KkcaxelRZC/6lgPrNT9lxw2GPb13wXh2OZFBqvyIS5 n3cidm1N+r75wTlpuV2viycV4Ff/us7iREtciApGLPa29qBR6nWstHFItf2mcnl5AUyk J+R3aj9+QRkQ3mxk8CyihhMOll1fjThKKvCOUGnmK6rZ1zmZijuLDlAdkPawE9hGp4Tv 8jGCXkzNh6KSsmh0LrPC+/FkP+qhBirt6bOt1SFRqyN+ke57Et5ddy2piPqvPoUcMqfy aKEhzzpQu+65F2IIBNs8uOAuitC7fa6cmUnNGqTEpl7FiyAcFnSDNzp3CQRI6SKshHpR iIEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:references:in-reply-to:date :subject:cc:to:from; bh=WfNvO4c2ax4tww91/Y4yrK6WpCzRjbOgy3sa3Y88kC8=; b=mSkNXqw7Je8hZf5DwA9sv3r6+kzltr/rgixmZ8+1ZD1paHCgDYrpXFG/Hc75K6TrPV cUFRxwWrWbtG7h6NwvaaCOxImV1rc0URnYajCfCjVcbfmw5ufA6zIW5ybhRlOtAvZmau ibUts+TScM/0dE3no6agRulY+egUuzwep4s3FxVVxb8D1fhioaP8a212IzlaXIn6/dYw L2VzRunHSV5Wns4a0ThsIu9QSFxJAwGX+PWOIEd8YCnbP53k28lzmqAHizNwmiA87ouN D/a+t2p8A86zbh59lVvjQKcxsnOUkIWOpmai8VFxrcHq6+m1Gf6QW2ql+gJtfLTSCgc6 mKYg== 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 s63-v6si5641501pfj.226.2018.09.26.11.32.16; Wed, 26 Sep 2018 11:32:30 -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 S1728701AbeI0Anr (ORCPT + 99 others); Wed, 26 Sep 2018 20:43:47 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:58334 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728498AbeI0Anp (ORCPT ); Wed, 26 Sep 2018 20:43:45 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w8QIT9YY138287 for ; Wed, 26 Sep 2018 14:29:31 -0400 Received: from e13.ny.us.ibm.com (e13.ny.us.ibm.com [129.33.205.203]) by mx0a-001b2d01.pphosted.com with ESMTP id 2mrf5krqps-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 26 Sep 2018 14:29:31 -0400 Received: from localhost by e13.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 26 Sep 2018 14:29:29 -0400 Received: from b01cxnp22033.gho.pok.ibm.com (9.57.198.23) by e13.ny.us.ibm.com (146.89.104.200) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 26 Sep 2018 14:29:23 -0400 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w8QITMOx43057340 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 26 Sep 2018 18:29:22 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 618EEB2065; Wed, 26 Sep 2018 14:27:42 -0400 (EDT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1BE3EB206E; Wed, 26 Sep 2018 14:27:42 -0400 (EDT) Received: from paulmck-ThinkPad-W541 (unknown [9.85.155.193]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 26 Sep 2018 14:27:42 -0400 (EDT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id BF23B16C39D4; Wed, 26 Sep 2018 11:29:21 -0700 (PDT) From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, mingo@kernel.org Cc: stern@rowland.harvard.edu, parri.andrea@gmail.com, will.deacon@arm.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 , "Paul E. McKenney" , Daniel Lustig , Jonathan Corbet Subject: [PATCH memory-model 5/5] doc: Replace smp_cond_acquire() with smp_cond_load_acquire() Date: Wed, 26 Sep 2018 11:29:20 -0700 X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180926182845.GA24839@linux.ibm.com> References: <20180926182845.GA24839@linux.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18092618-0064-0000-0000-00000355980C X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009776; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000267; SDB=6.01094026; UDB=6.00565497; IPR=6.00874063; MB=3.00023518; MTD=3.00000008; XFM=3.00000015; UTC=2018-09-26 18:29:28 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18092618-0065-0000-0000-00003AC8240B Message-Id: <20180926182920.27644-5-paulmck@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-09-26_08:,, 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=597 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809260172 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Will Deacon Acked-by: Alan Stern --- 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. Memory operations that occur before an ACQUIRE operation may appear to happen after it completes. -- 2.17.1