Received: by 10.223.176.5 with SMTP id f5csp93994wra; Fri, 2 Feb 2018 17:34:32 -0800 (PST) X-Google-Smtp-Source: AH8x225wauojjLWADUCEu3s5HsSpho65YNc5KkL3+hiKaHUao9WijCEHzWdwdhLP2CXC+0+wrjB2 X-Received: by 10.99.97.211 with SMTP id v202mr4844198pgb.412.1517621672521; Fri, 02 Feb 2018 17:34:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517621672; cv=none; d=google.com; s=arc-20160816; b=B3cSp0FkUTcK50FZochB6Btop2fc5u6qGn5bJmgEU6UAp2HR+NFk4vgfKpkTxDSWDq amTG1H+7DyK5RsOmmUkK/IhCQGY3+CqcLe1xMcSqRqGb9BMLHZHXdIKXQPfDeFLteoGW LxP1Xq+D7Kuk10ayTv23XCyh6cf1uAqIUnmW9RM/kSYvFHgB7hb9DkRcq3ng3U+Kepqm vYldzFDtZDn5vrN4jLWAbZRpVsS4HXi6G7f6Cafx9CyjPSF2Mtj9Yl2ULGV8hEnbp2TL C2eHnYSFNTPg6u4cly2svc4DG79YwwDJ1jGsz+Zs/emT4PlvbZG08IXkyTyiMYwvUMNU aqrQ== 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:arc-authentication-results; bh=dwNhTXRpppLb6w+akMEOM3q09gXEIHoQMwnj1Mgf1Xs=; b=Y5T5l6O/H/UIl8Ndpekyopqm8NnQlCqFWNiVZcnlTqtjy+lSus3rL9IouCjzEudbFP o80FwM4tTS7IeyfALnG1znHorjPMreRTmgwvVy8dOWVlhF1I9uHUy0/iX9o3xeHb5ood d5G/dH+Mo1/Wv1EeAW62l69+jEgNupGMr7vBPSFMs/DOQaAo6tLpgcrrHldNlTnOH1QJ lZoYJ4qU3vof1a1l1sNaKT5m3mcLVZIPxYcv8YM4zpNomWuJGAA+plXyaGasHjFcZ2R7 9Zw/MShdM2ApeLq31YR7RLmbug2Ecp4rEZbQniB63GoIdtVtdmzcrkgEywN568iopV0s I8UA== 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 26si475329pfk.317.2018.02.02.17.34.17; Fri, 02 Feb 2018 17:34: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 S1751916AbeBCBbl (ORCPT + 99 others); Fri, 2 Feb 2018 20:31:41 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:51920 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751582AbeBCBbg (ORCPT ); Fri, 2 Feb 2018 20:31:36 -0500 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w131TT7h114953 for ; Fri, 2 Feb 2018 20:31:35 -0500 Received: from e18.ny.us.ibm.com (e18.ny.us.ibm.com [129.33.205.208]) by mx0b-001b2d01.pphosted.com with ESMTP id 2fw35yggv5-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 02 Feb 2018 20:31:35 -0500 Received: from localhost by e18.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 2 Feb 2018 20:31:34 -0500 Received: from b01cxnp23033.gho.pok.ibm.com (9.57.198.28) by e18.ny.us.ibm.com (146.89.104.205) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 2 Feb 2018 20:31:30 -0500 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp23033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w131VT3V55115948; Sat, 3 Feb 2018 01:31:29 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4D25DB2046; Fri, 2 Feb 2018 20:28:26 -0500 (EST) Received: from paulmck-ThinkPad-W541 (unknown [9.80.221.112]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id 7BF37B204D; Fri, 2 Feb 2018 20:28:24 -0500 (EST) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 2055D16C0FBA; Fri, 2 Feb 2018 17:21:03 -0800 (PST) Date: Fri, 2 Feb 2018 17:21:03 -0800 From: "Paul E. McKenney" To: Andrea Parri Cc: corbet@lwn.net, dhowells@redhat.com, will.deacon@arm.com, peterz@infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, stern@rowland.harvard.edu, boqun.feng@gmail.com, npiggin@gmail.com, j.alglave@ucl.ac.uk, luc.maranget@inria.fr Subject: Re: [PATCH 1/2] Documentation/memory-barriers.txt: cross-reference "tools/memory-model/" Reply-To: paulmck@linux.vnet.ibm.com References: <1517562768-6238-1-git-send-email-parri.andrea@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1517562768-6238-1-git-send-email-parri.andrea@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18020301-0044-0000-0000-000003DAE2F1 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008463; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000248; SDB=6.00984193; UDB=6.00499213; IPR=6.00763471; BA=6.00005809; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00019343; XFM=3.00000015; UTC=2018-02-03 01:31:33 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18020301-0045-0000-0000-0000080A4FD3 Message-Id: <20180203012103.GD3617@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-02_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=3 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-1802030015 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 02, 2018 at 10:12:48AM +0100, Andrea Parri wrote: > Recent efforts led to the specification of a memory consistency model > for the Linux kernel [1], which "can (roughly speaking) be thought of > as an automated version of memory-barriers.txt" and which is (in turn) > "accompanied by extensive documentation on its use and its design". > > Make sure that the (occasional) reader of memory-barriers.txt will be > aware of these developments. > > [1] https://marc.info/?l=linux-kernel&m=151687290114799&w=2 > > Signed-off-by: Andrea Parri I am inclined to pull in something along these lines, but would like some feedback on the wording, especially how "official" we want to make the memory model to be. Thoughts? If I don't hear otherwise in a couple of days, I will pull this as is. Thanx, Paul > --- > Documentation/memory-barriers.txt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt > index a863009849a3b..8cc3f098f4a7d 100644 > --- a/Documentation/memory-barriers.txt > +++ b/Documentation/memory-barriers.txt > @@ -17,7 +17,9 @@ meant as a guide to using the various memory barriers provided by Linux, but > in case of any doubt (and there are many) please ask. > > To repeat, this document is not a specification of what Linux expects from > -hardware. > +hardware. For such a specification, in the form of a memory consistency > +model, and for documentation about its usage and its design, the reader is > +referred to "tools/memory-model/". > > The purpose of this document is twofold: > > -- > 2.7.4 >