Received: by 10.223.176.5 with SMTP id f5csp14982wra; Fri, 2 Feb 2018 15:33:57 -0800 (PST) X-Google-Smtp-Source: AH8x227dxa7ZRPt1ypo4zELQN2XZ3faldydfiqVrI7zdB9rtn//w0hqLPDKxD5Uv2zhQEQZttpS5 X-Received: by 10.101.100.132 with SMTP id e4mr3643960pgv.398.1517614437132; Fri, 02 Feb 2018 15:33:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517614437; cv=none; d=google.com; s=arc-20160816; b=fzlWKfH8wMXSm8o/4q3D8W4VhKVAXT49cY/RhNeF7BbqWqzp6SSCsXiWaHxJj0dFQW geuBwrKwVvYI1RApkmlwXARp7tgFMfZBFJS6vEH5W+OV2yGoKSjZAoIoZqCP8CnqOsDm ARRQw0D7uF4EwwTWGsHZGzPG56LlPpqwTNR/8bgyOWOMJJsVkGusR0JDIA8gGG584afC dAyZ9cGPHuNSTuDx1aQWOXrIbA2O/QGn4Qay8/cJfcJsNwKqP4Aw5A3BJ5h10eo6IZkZ K3MuXKp5flgcYHezMrBCS9sLE8lXTcS8+7GKvClPzwAy5cUPyG/VNlpfIyNueH+XXvlT SZSw== 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=e59geMEDp11Tucgzt1H83L0x9sbrAuPZbF5KRe8GHBo=; b=tGMNj89PZjZPiW1TbmUwNW1vVMZIEGoYINgJvt4k2tS+NbYQJ9RC5qnDdfnkWiVWy0 oFkU5erUOOJTch94ZP/iQfLtHaOKVW57n68i09W90fv80WgYnBP1CQpXksXZ0bQoBUWa xYj+O09DNCJuktht6NFL9yalXQi1FtHDj3gdaCFgupe4sUe59cYkKpQKI9qvIqCqm5n9 JIMFW6zfq0iOKXTtYkdQGnQZoK57QER/HSfoIhtp7dggk8vZWn8GT8daATKW76ah4qL5 md49qBvuNyt4h8TQinV+2CnfGRsnTmlxHjdVP9ibI5j/V/vZ0pRL7aUj6hoCbi/DmOm7 zJ5Q== 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 o33-v6si586860plb.121.2018.02.02.15.33.41; Fri, 02 Feb 2018 15:33:57 -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 S1752159AbeBBXT3 (ORCPT + 99 others); Fri, 2 Feb 2018 18:19:29 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:56742 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751786AbeBBXTW (ORCPT ); Fri, 2 Feb 2018 18:19:22 -0500 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w12NJ4Nj058379 for ; Fri, 2 Feb 2018 18:19:22 -0500 Received: from e19.ny.us.ibm.com (e19.ny.us.ibm.com [129.33.205.209]) by mx0a-001b2d01.pphosted.com with ESMTP id 2fw0te19eh-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 02 Feb 2018 18:19:21 -0500 Received: from localhost by e19.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 2 Feb 2018 18:19:20 -0500 Received: from b01cxnp22034.gho.pok.ibm.com (9.57.198.24) by e19.ny.us.ibm.com (146.89.104.206) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 2 Feb 2018 18:19:16 -0500 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 w12NJG6p53543008; Fri, 2 Feb 2018 23:19:16 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AF473B204D; Fri, 2 Feb 2018 18:16:12 -0500 (EST) Received: from paulmck-ThinkPad-W541 (unknown [9.85.148.226]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id 92006B2052; Fri, 2 Feb 2018 18:16:11 -0500 (EST) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 7563F16C2ABD; Fri, 2 Feb 2018 15:19:22 -0800 (PST) Date: Fri, 2 Feb 2018 15:19:22 -0800 From: "Paul E. McKenney" To: Andrea Parri Cc: Alan Stern , 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> <20180201230941.GT3741@linux.vnet.ibm.com> <20180202104421.GA31828@andrea> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180202104421.GA31828@andrea> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18020223-0056-0000-0000-00000414D9B1 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.00984168; UDB=6.00499198; IPR=6.00763446; 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.00019342; XFM=3.00000015; UTC=2018-02-02 23:19:19 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18020223-0057-0000-0000-0000084C45C9 Message-Id: <20180202231922.GB3617@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=0 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-1802020281 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 11:44:21AM +0100, Andrea Parri wrote: > On Thu, Feb 01, 2018 at 03:09:41PM -0800, Paul E. McKenney wrote: > > 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. > > Seems to me that your message has a leftover "is used". Good catch, how about this instead? Thanx, Paul ----------------------------------------------------------------------- commit 2b1b4ab5166209da849f306fbdc84114d9e611fd 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 clear that tools/memory-model/ uses the term "memory model" 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.