Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp70095imm; Wed, 29 Aug 2018 14:12:39 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbUw1Q1N+Yh7+qfNVBDrpItffzr4Eku8yNKSCtFVsQ3rdvKwyCDYfktEFpPUlsEuQPgRvkU X-Received: by 2002:a62:2285:: with SMTP id p5-v6mr7532029pfj.53.1535577159405; Wed, 29 Aug 2018 14:12:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535577159; cv=none; d=google.com; s=arc-20160816; b=IQqLQYsDVUwYFZ8y6kqIiUw4vfPxCdtm9RLyjrF0lng9bHosnQsCPh9Ux1yZjCXu3o nPUxEzx3qUEoWeJcP7suOgS3/aqkitU1lDbwj72d0ceFWNIpPxIUhvI23dAWAjdQEGAP M8CbbDLjnGdp5hdRWzI2L04uHVEZ39pyRDr/HMnX41zm+gdupoKHSo6PBQX0wCcGKyY6 J3lMhpBy8U/rQnn471J32cgx8loT71cSFFo+LuTZ/5g4BBe1DKKpcs+25FXawUho3CWo j5EhiJqK9kIX+A+qlmtUkLxJ8M/cauZ3zOXhvBz/wig6nlq/u8LqJPoBZG60lCimNaZz 6etw== 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:arc-authentication-results; bh=SWBqxCLSuKXMIdVEHA5Tk/ViAbqVochbLvH3BKjlmJo=; b=nEdXeWH6H4bkQJ6ZbwEY77doFd4gTvHHQcAD9qgT3A4op+6BOqNSpTSQ0kRmK9xaqg 74FKSrz919Wjv+ZK7krAFfo9i6Qx+QZgqpkRgkG00datccAfWpAUmtcqsvTCD1hwcVjP iU8ljcH8XcmAWRoImjmZHD7z1bzW64APTcpqprR6bdw9Z4z6GPip0P3orTQx8xbkUeI6 tfYA3A56O3Q1v9mAJjjlaNphTJzHqeErOu70HyPav4NzXbR+qHnLlhyibm6wlT6Zaki3 6TikXBSYQxAeb9US+BDdjgN9W90kCoP0QJrLMnfJ6k30I8IPkJH0Rl+48BGRQrkIHlL3 nnKw== 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 b30-v6si4996779pgm.389.2018.08.29.14.12.24; Wed, 29 Aug 2018 14:12:39 -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 S1729219AbeH3BJt (ORCPT + 99 others); Wed, 29 Aug 2018 21:09:49 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:58998 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728405AbeH3BJp (ORCPT ); Wed, 29 Aug 2018 21:09:45 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w7TL8oS4038259 for ; Wed, 29 Aug 2018 17:11:02 -0400 Received: from e14.ny.us.ibm.com (e14.ny.us.ibm.com [129.33.205.204]) by mx0b-001b2d01.pphosted.com with ESMTP id 2m615dcv57-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 29 Aug 2018 17:11:02 -0400 Received: from localhost by e14.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 29 Aug 2018 17:11:01 -0400 Received: from b01cxnp22034.gho.pok.ibm.com (9.57.198.24) by e14.ny.us.ibm.com (146.89.104.201) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 29 Aug 2018 17:10:57 -0400 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w7TLAu9k4981070 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 29 Aug 2018 21:10:56 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0D236B2065; Wed, 29 Aug 2018 17:09:52 -0400 (EDT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E0A60B205F; Wed, 29 Aug 2018 17:09:51 -0400 (EDT) Received: from paulmck-ThinkPad-W541 (unknown [9.70.82.159]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 29 Aug 2018 17:09:51 -0400 (EDT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 43D2716C91C3; Wed, 29 Aug 2018 14:10:56 -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 RFC LKMM 2/7] doc: Replace smp_cond_acquire() with smp_cond_load_acquire() Date: Wed, 29 Aug 2018 14:10:48 -0700 X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180829211018.GA19646@linux.vnet.ibm.com> References: <20180829211018.GA19646@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18082921-0052-0000-0000-000003281883 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009635; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000266; SDB=6.01080715; UDB=6.00557479; IPR=6.00860700; MB=3.00023001; MTD=3.00000008; XFM=3.00000015; UTC=2018-08-29 21:11:01 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18082921-0053-0000-0000-00005DE5D1D1 Message-Id: <20180829211053.20531-2-paulmck@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-08-29_04:,, 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=602 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1808290206 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 --- 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