Received: by 10.223.176.5 with SMTP id f5csp737401wra; Fri, 9 Feb 2018 06:27:32 -0800 (PST) X-Google-Smtp-Source: AH8x224nuUkbp96aqQ1u3Upjxl0bqeByZqq7gO8YZqm5lO57ZmVIWwDfVc3SOf1UVsV3bGIfPvJx X-Received: by 10.99.126.81 with SMTP id o17mr2521399pgn.189.1518186452418; Fri, 09 Feb 2018 06:27:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518186452; cv=none; d=google.com; s=arc-20160816; b=rZWbMD9Kqh13ITQHenh2bLNABUycTnrI35bwHcwWk0qYCxzlJRqbsHWa3vzfvfpNwG tP+sp1U+nj63xiir+GGRSgstrJGunNWrkq0AdNRMHZEinTXOmEaIUxRpmsFJ3dt0AszX YYT9ymzyRdIDJGvzw+VnJxB/iZe7dPQ96hD4jt9WOcOe3luejL63FbGhTbwA8uiHUqaF IxO1Ot62PA+sdsDb6yNDLlZk0rUTjBVaeJCtwcxO8bd1WJ52t8+pkAVMQlVW+87kjKGi LMn7m1wHhBIA6nQ3fd9EQRWelh7r7q15kcQK1yZyH564BaCGtKk01rvp2PepomEOJdgq engQ== 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=FVVbupciBKnTgTfgU8kUFzV9QGqGo/DOXV8AmAwjoLI=; b=gKLjcfHFeKSjekKlDzaIUjI5Cus5mqTOxwgF3/jy4P6CnAV0AfRBz4vCoJXVh2MpnM Q5fXHM7SzolkG4ebBlDwC7vfUplNbRLWQHRpm2tAdx906v5BQC6gxXRargY/rRIPx5E4 YtD3YpjKCPtQZJPlRbv9WdhdGRa1CSKrGtaRXZIE3X8YzEcfoNEwUkPBJzhEIgkecPzr /53m3NGOQzT+Od5aDoncAghxu8C9f8nVBni/Y3rx/Pkk/KI6db7MBSAxSHdVqOKedGY5 abYSolBljQqBmki4Su1WdEe62HMzTu/b3imA4nU0uBNzHDtHHK1ml/j1FOCFrbkygfSr DGbQ== 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 d189si1409115pgc.664.2018.02.09.06.27.18; Fri, 09 Feb 2018 06:27:32 -0800 (PST) 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 S1752310AbeBIOZb (ORCPT + 99 others); Fri, 9 Feb 2018 09:25:31 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:35204 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752171AbeBIOV6 (ORCPT ); Fri, 9 Feb 2018 09:21:58 -0500 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w19EJeCD011132 for ; Fri, 9 Feb 2018 09:21:57 -0500 Received: from e12.ny.us.ibm.com (e12.ny.us.ibm.com [129.33.205.202]) by mx0b-001b2d01.pphosted.com with ESMTP id 2g1bdxn8f5-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 09 Feb 2018 09:21:57 -0500 Received: from localhost by e12.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 9 Feb 2018 09:21:56 -0500 Received: from b01cxnp23032.gho.pok.ibm.com (9.57.198.27) by e12.ny.us.ibm.com (146.89.104.199) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 9 Feb 2018 09:21:51 -0500 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w19ELoWG43450390; Fri, 9 Feb 2018 14:21:50 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BEFD6B2052; Fri, 9 Feb 2018 09:18:45 -0500 (EST) Received: from paulmck-ThinkPad-W541 (unknown [9.80.219.97]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id 9F27BB204D; Fri, 9 Feb 2018 09:18:44 -0500 (EST) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 460B516C6B6D; Fri, 9 Feb 2018 06:20:33 -0800 (PST) From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Cc: mingo@kernel.org, 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, "Paul E. McKenney" Subject: [PATCH RFC tip/lkmm 09/10] EXP Remove underscore from smp_mb__after_atomic() workings Date: Fri, 9 Feb 2018 06:20:30 -0800 X-Mailer: git-send-email 2.5.2 In-Reply-To: <20180209141832.GA17505@linux.vnet.ibm.com> References: <20180209141832.GA17505@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18020914-0048-0000-0000-00000234EE1E X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008504; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000250; SDB=6.00987227; UDB=6.00501083; IPR=6.00766586; BA=6.00005821; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00019457; XFM=3.00000015; UTC=2018-02-09 14:21:54 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18020914-0049-0000-0000-000044124F13 Message-Id: <1518186031-17997-9-git-send-email-paulmck@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-09_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1802090184 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Paul E. McKenney --- tools/memory-model/linux-kernel.bell | 2 +- tools/memory-model/linux-kernel.cat | 2 +- tools/memory-model/linux-kernel.def | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/memory-model/linux-kernel.bell b/tools/memory-model/linux-kernel.bell index 558bbef9e08a..6fca420bc6c4 100644 --- a/tools/memory-model/linux-kernel.bell +++ b/tools/memory-model/linux-kernel.bell @@ -29,7 +29,7 @@ enum Barriers = 'wmb (*smp_wmb*) || 'rcu-unlock (*rcu_read_unlock*) || 'sync-rcu (*synchronize_rcu*) || 'before-atomic (*smp_mb__before_atomic*) || - 'after_atomic (*smp_mb__after_atomic*) || + 'after-atomic (*smp_mb__after_atomic*) || 'after_spinlock (*smp_mb__after_spinlock*) instructions F[Barriers] diff --git a/tools/memory-model/linux-kernel.cat b/tools/memory-model/linux-kernel.cat index 31c08a44c088..7b1d9ecc4b67 100644 --- a/tools/memory-model/linux-kernel.cat +++ b/tools/memory-model/linux-kernel.cat @@ -30,7 +30,7 @@ let rmb = [R \ Noreturn] ; fencerel(Rmb) ; [R \ Noreturn] let wmb = [W] ; fencerel(Wmb) ; [W] let mb = ([M] ; fencerel(Mb) ; [M]) | ([M] ; fencerel(Before-atomic) ; [RMW] ; po? ; [M]) | - ([M] ; po? ; [RMW] ; fencerel(After_atomic) ; [M]) | + ([M] ; po? ; [RMW] ; fencerel(After-atomic) ; [M]) | ([M] ; po? ; [LKW] ; fencerel(After_spinlock) ; [M]) let gp = po ; [Sync-rcu] ; po? diff --git a/tools/memory-model/linux-kernel.def b/tools/memory-model/linux-kernel.def index ff4b756f4a44..46a9eb40323d 100644 --- a/tools/memory-model/linux-kernel.def +++ b/tools/memory-model/linux-kernel.def @@ -22,7 +22,7 @@ smp_rmb() { __fence{rmb} ; } smp_wmb() { __fence{wmb} ; } smp_read_barrier_depends() { __fence{rb_dep}; } smp_mb__before_atomic() { __fence{before-atomic} ; } -smp_mb__after_atomic() { __fence{after_atomic} ; } +smp_mb__after_atomic() { __fence{after-atomic} ; } smp_mb__after_spinlock() { __fence{after_spinlock} ; } // Exchange -- 2.5.2