Received: by 10.223.176.5 with SMTP id f5csp473696wra; Fri, 2 Feb 2018 00:42:14 -0800 (PST) X-Google-Smtp-Source: AH8x226LvYYivRVvvLRrjqfa13BUHefFDPAWV0YiDjGbDgHCugBS6utJnDbd+/LCyBkA5Kzk3CC7 X-Received: by 2002:a17:902:fa2:: with SMTP id 31-v6mr33779686plz.346.1517560934113; Fri, 02 Feb 2018 00:42:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517560934; cv=none; d=google.com; s=arc-20160816; b=AWUeeI//qS38EL0unnOY0f865aX/TXd/P/WJRQU8x2rGGmqTqlkHKgySk2uzIM75Wr gvLZI3EWYjdHSacoeIFl0Z4sEjem+PSj+RYOAODXHdE4nJ/Og+pAXiNkR3NqliSt51Uj D9bFtuIAv1SMb9HsxzQ+mPN2/5RzCTOTeEWXrWgsx91+/ZZ/ZY8PRQFbhnW5Lt8Y2Wi4 Kv6F/iSPWCr1GNwRhviAe2Eslm2w21n2s3irgIjHjh+u1joHZ4Wr5ef7SCsV2XXFwPwC XJELDCHwG4kglvvqsuxyCdkluEgDzqCGXQQyK49iDeN68Z/9QDkCOVOIRl3dQs06uZ7W H98A== 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=a3NWWGg+oV6UtEO3zBtG+EHM+0h4QGBPgCveyCBqS6M=; b=lDEqEt1tJhknooRGf7mXU4RudN7UshqAe7HvUGBzxABzweYcRoqJ/gjIvz0epTKh6S T79BhO9zz6NGqOkL7+v/cs2XgSGvMaoFAeB1K60bcHGojjl9jiZQn1Lj2r7iUk98UIOy dU/N29uweuJ5xPtFjvHONHy/lwdtHPR15m7ZPZ1AnUSjnXn/aOuFiPLIpJntikCnJipr eso2B0eE+N5RK8+WFOP4kQ7qVihJuoCPyO6JkoWdIY4tnuUAlBcTYuu7XVAMe8fkT74Q 3JiGr503rjnpvVoSQ54/Ocp4Vy21Lqce6IUVqxUu+iZwhZeKBfbgv+dep9yuL80ttUiq FNgQ== 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 u13si1080436pgc.609.2018.02.02.00.41.59; Fri, 02 Feb 2018 00:42:14 -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 S1751916AbeBBIk6 (ORCPT + 99 others); Fri, 2 Feb 2018 03:40:58 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:51474 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750795AbeBBIkw (ORCPT ); Fri, 2 Feb 2018 03:40:52 -0500 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w128dZqw091972 for ; Fri, 2 Feb 2018 03:40:52 -0500 Received: from e17.ny.us.ibm.com (e17.ny.us.ibm.com [129.33.205.207]) by mx0a-001b2d01.pphosted.com with ESMTP id 2fvjyp4bpc-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 02 Feb 2018 03:40:51 -0500 Received: from localhost by e17.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 2 Feb 2018 03:40:50 -0500 Received: from b01cxnp23033.gho.pok.ibm.com (9.57.198.28) by e17.ny.us.ibm.com (146.89.104.204) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 2 Feb 2018 03:40:46 -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 w128ejax262428; Fri, 2 Feb 2018 08:40:45 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 43332B2054; Fri, 2 Feb 2018 03:37:42 -0500 (EST) Received: from paulmck-ThinkPad-W541 (unknown [9.85.207.237]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id D70E4B204D; Fri, 2 Feb 2018 03:37:40 -0500 (EST) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id C9D6716C2F2F; Thu, 1 Feb 2018 15:09:41 -0800 (PST) Date: Thu, 1 Feb 2018 15:09:41 -0800 From: "Paul E. McKenney" To: Alan Stern Cc: Andrea Parri , 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, linux-kernel@vger.kernel.org, mingo@kernel.org Subject: Re: [PATCH 1/2] tools/memory-model: clarify the origin/scope of the tool name Reply-To: paulmck@linux.vnet.ibm.com References: <1517486609-10951-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: User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18020208-0040-0000-0000-000003ED9032 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008461; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000248; SDB=6.00983875; UDB=6.00499021; IPR=6.00763153; BA=6.00005808; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00019331; XFM=3.00000015; UTC=2018-02-02 08:40:48 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18020208-0041-0000-0000-000007E2FEFF Message-Id: <20180201230941.GT3741@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-02_01:,, 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=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1802020103 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 01, 2018 at 10:26:50AM -0500, Alan Stern wrote: > On Thu, 1 Feb 2018, Andrea Parri wrote: > > > Ingo pointed out that: > > > > "The "memory model" name is overly generic, ambiguous and somewhat > > misleading, as we usually mean the virtual memory layout/model > > when we say "memory model". GCC too uses it in that sense [...]" > > > > Make it clearer that, in the context of tools/memory-model/, the term > > "memory-model" is used as shorthand for "memory consistency model" by > > calling out this convention in tools/memory-model/README. > > > > Stick to the full name in sources' headers and for the subsystem name. > > > > Suggested-by: Ingo Molnar > > Signed-off-by: Andrea Parri > > For both patches: > > Acked-by: Alan Stern Thank you all -- I have queued this and pushed it to my RCU tree on branch lkmm. I did reword the commit log a bit, please see below and please let me know if any of my rewordings need halp. Andrea, when you resend your second patch, could you please add Alan's Acked-by? Thanx, Paul ------------------------------------------------------------------------ commit de175b697f71b8e3e6d980b7186b909fee0c4378 Author: Andrea Parri Date: Thu Feb 1 13:03:29 2018 +0100 tools/memory-model: Clarify the origin/scope of the tool name Ingo pointed out that: "The "memory model" name is overly generic, ambiguous and somewhat misleading, as we usually mean the virtual memory layout/model when we say "memory model". GCC too uses it in that sense [...]" Make it clearer that tools/memory-model/ uses the term "memory model" is used as shorthand for "memory consistency model" by calling out this convention in tools/memory-model/README. Stick to the original "memory model" term in sources' headers and for the subsystem name. Suggested-by: Ingo Molnar Signed-off-by: Andrea Parri Acked-by: Will Deacon Acked-by: Alan Stern Signed-off-by: Paul E. McKenney diff --git a/tools/memory-model/MAINTAINERS b/tools/memory-model/MAINTAINERS index 711cbe72d606..db3bd3fc0435 100644 --- a/tools/memory-model/MAINTAINERS +++ b/tools/memory-model/MAINTAINERS @@ -1,4 +1,4 @@ -LINUX KERNEL MEMORY MODEL +LINUX KERNEL MEMORY CONSISTENCY MODEL M: Alan Stern M: Andrea Parri M: Will Deacon diff --git a/tools/memory-model/README b/tools/memory-model/README index 43ba49492111..91414a49fac5 100644 --- a/tools/memory-model/README +++ b/tools/memory-model/README @@ -1,15 +1,15 @@ - ========================= - LINUX KERNEL MEMORY MODEL - ========================= + ===================================== + LINUX KERNEL MEMORY CONSISTENCY MODEL + ===================================== ============ INTRODUCTION ============ -This directory contains the memory model of the Linux kernel, written -in the "cat" language and executable by the (externally provided) -"herd7" simulator, which exhaustively explores the state space of -small litmus tests. +This directory contains the memory consistency model (memory model, for +short) of the Linux kernel, written in the "cat" language and executable +by the externally provided "herd7" simulator, which exhaustively explores +the state space of small litmus tests. In addition, the "klitmus7" tool (also externally provided) may be used to convert a litmus test to a Linux kernel module, which in turn allows diff --git a/tools/memory-model/linux-kernel.bell b/tools/memory-model/linux-kernel.bell index 57112505f5e0..b984bbda01a5 100644 --- a/tools/memory-model/linux-kernel.bell +++ b/tools/memory-model/linux-kernel.bell @@ -11,7 +11,7 @@ * which is to appear in ASPLOS 2018. *) -"Linux kernel memory model" +"Linux-kernel memory consistency model" enum Accesses = 'once (*READ_ONCE,WRITE_ONCE,ACCESS_ONCE*) || 'release (*smp_store_release*) || diff --git a/tools/memory-model/linux-kernel.cat b/tools/memory-model/linux-kernel.cat index 15b7a5dd8a9a..babe2b3b0bb3 100644 --- a/tools/memory-model/linux-kernel.cat +++ b/tools/memory-model/linux-kernel.cat @@ -11,7 +11,7 @@ * which is to appear in ASPLOS 2018. *) -"Linux kernel memory model" +"Linux-kernel memory consistency model" (* * File "lock.cat" handles locks and is experimental.