Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1429882yba; Wed, 24 Apr 2019 22:47:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqxv+VoXfPfmMNcbVy88/HfNdF6DAIuJ7e9II59RREFerZ8uXq+ZN3gmPNxYLV2XUbtMkXKX X-Received: by 2002:a17:902:a7:: with SMTP id a36mr36913463pla.111.1556171226934; Wed, 24 Apr 2019 22:47:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556171226; cv=none; d=google.com; s=arc-20160816; b=z1SQroCSQMSWMIrtRydsh1R0ywDTK4HxzSK+33UN+KPZ7swCgwbEE3jif/m5OXdjZI scVDsGPWCB5HasdVVvBYRnkuTZLzof64mgyJw86leR/esfyX1CD1VGUKH2DMU41J0c+R yY884xqoc+zJ5NwaRSAL6rbXsXHhx/vBCYzsGR6uu0BSE/dsBdDUrX+fg3T6/B4U8DAq 9QIbUVLsIqet7Sx7XbX/Or0WdbHEUVZlRYdm+NtC485nul6XmCXnn0eFOp+MBh+v0jTr VORVT9sK6ytP1JPx/2G02CmXDD3aSF3bwyhn9RANSccut1sgD7IOQsRiD8+gODttzth7 lSOg== 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=os1TpDQsfbHfB0Ua2R5c9vGPfoZr8ksIWEw4wiN+Sd0=; b=M8TZia5WHyL8vnJ5D3+lKiRQi9BFlIVuUd9jeoQYWWbMI/1XNye+sjrsoSwjMGr3C3 KPxAWUPvNlGFiYPyo3E1GuNeXlfhbyh/Rh3HzAiQ2WCGpq8Xl3qRf/N+0k8yhrRn/7ya V1+7r9YEuKTw8xH0ORDbWSKeA0awchuW/rfQktFsA/f9NYbXlE7IVCVUAGOZ1+w6yrPm lXlbm2xcp3sATv3T4Q+eMpqVXB/xk/8bMJx1RT7+iowi/f01Fd2CcjsNMJheethsJrGC ImB+P5Dn49Af6jViCoS4bcs9AyFVGYva30vSTbEv6LmE+Ido3dDMSchBX3useVaTl00W XPdg== 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 n3si21552509plb.148.2019.04.24.22.46.51; Wed, 24 Apr 2019 22:47:06 -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 S1733047AbfDXSbR (ORCPT + 99 others); Wed, 24 Apr 2019 14:31:17 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:43028 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1733265AbfDXSbQ (ORCPT ); Wed, 24 Apr 2019 14:31:16 -0400 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3OIT0ZC159820 for ; Wed, 24 Apr 2019 14:31:15 -0400 Received: from e15.ny.us.ibm.com (e15.ny.us.ibm.com [129.33.205.205]) by mx0b-001b2d01.pphosted.com with ESMTP id 2s2u0axf3f-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 24 Apr 2019 14:31:15 -0400 Received: from localhost by e15.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 24 Apr 2019 19:31:14 +0100 Received: from b01cxnp22035.gho.pok.ibm.com (9.57.198.25) by e15.ny.us.ibm.com (146.89.104.202) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 24 Apr 2019 19:31:09 +0100 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 x3OIV8Y727656242 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 24 Apr 2019 18:31:08 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 56264B206A; Wed, 24 Apr 2019 18:31:08 +0000 (GMT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2BC89B2068; Wed, 24 Apr 2019 18:31:08 +0000 (GMT) Received: from paulmck-ThinkPad-W541 (unknown [9.80.231.45]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 24 Apr 2019 18:31:08 +0000 (GMT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id BB7EE16C5ED1; Wed, 24 Apr 2019 11:31:07 -0700 (PDT) Date: Wed, 24 Apr 2019 11:31:07 -0700 From: "Paul E. McKenney" To: Alan Stern Cc: LKMM Maintainers -- Akira Yokosawa , Andrea Parri , Boqun Feng , Daniel Lustig , David Howells , Jade Alglave , Luc Maranget , Nicholas Piggin , Peter Zijlstra , Will Deacon , Kernel development list , Joel Fernandes Subject: Re: [PATCH 1/3] tools: memory-model: Prepare for data-race detection Reply-To: paulmck@linux.ibm.com References: <20190424082231.GF3923@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 19042418-0068-0000-0000-000003B976B3 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010988; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000285; SDB=6.01193812; UDB=6.00625852; IPR=6.00974635; MB=3.00026579; MTD=3.00000008; XFM=3.00000015; UTC=2019-04-24 18:31:13 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19042418-0069-0000-0000-00004847D2CB Message-Id: <20190424183107.GN3923@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-04-24_12:,, 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=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904240133 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 24, 2019 at 10:24:42AM -0400, Alan Stern wrote: > On Wed, 24 Apr 2019, Paul E. McKenney wrote: > > > On Mon, Apr 22, 2019 at 12:17:45PM -0400, Alan Stern wrote: > > > This patch makes some slight alterations to linux-kernel.cat in > > > preparation for adding support for data-race detection to the > > > Linux-Kernel Memory Model. > > > > > > The definitions of relations involved in Acquire, Release, and > > > unlock-lock ordering are moved up earlier in the source file. > > > > > > The rmb relation is factored through the new R4rmb class: the > > > class of reads to which rmb will apply. > > > > > > The definition of the fence relation is moved earlier, and it > > > is split up into read- and write-fences (rmb and wmb) and all > > > the others. > > > > > > This should not make any functional changes. > > > > > > Signed-off-by: Alan Stern > > > > Thank you, Alan, I have queued all three onto -rcu for review and testing. > > FYI, I rebased my smp_mb__{before,after}_atomic() patch on top of yours > > to avoid the conflict. > > > > Which demonstrates non-commutativity of patches. Your patches conflict > > with mine, but mine does not conflict with yours. ;-) > > :-) > > Besides, who knows where we'll end up with the > smp_mb__{before,after}_atomic stuff once Peter is done with it, anyway? True enough! Thanx, Paul