Received: by 10.223.176.5 with SMTP id f5csp735540wra; Fri, 9 Feb 2018 06:25:52 -0800 (PST) X-Google-Smtp-Source: AH8x226lL/f1xbaiYPzEaskE+p1yfQEwonYizU9fjd8e04oAcmhij6OTwy+j+0EOkNj2Qj+tg0me X-Received: by 2002:a17:902:82c6:: with SMTP id u6-v6mr1085694plz.401.1518186352342; Fri, 09 Feb 2018 06:25:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518186352; cv=none; d=google.com; s=arc-20160816; b=oh8tWdGym0VzM4LvtdIQeJF75jpxOoHCvdAZAVOvgCOMpciWyky4nQMltQcsdEk0i7 QyTc55W93xAW7wvxbHKiynzPFpBfiHNIK1KF9aMrBsoZ+H72/IXzTOTtz+zpDllQpYsl 8XXaJxt2DrZOa7RZa9SDxXlki/mWhkBzCGEFgsy+nUCggQjtiwYDBgXEoU4AYVuRwMs1 9E7wh07BZuUwIqfOlcQ5sn9juFam7sqw2WrMzI2SWLM+5eY5PKX+w+k2C4yzR8RFS8xz Kib/3Ko7TxS4ztXRdbcHudI0QaMOenSKebDNYWFZtGQ0Z9wYQWXhW5OTuOyYA6jvljus rUhA== 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=rER5jW3zHDvfby69KClPKQnPhy6Vuum+8yDSnl5yQaA=; b=L664mZBhNDSzrjZPvAlPmZhssLkljcBoF8Lx3HvmowhQC0DvSuUbmzz+QmJuRRLPHL QFLbg8teNUYoX5RDl01asydG2myKqqpF2nUzKkP8Ehw53XgpmtOQ1ueJS0dTBhsUGjdy JQU3LI8RQaRTlfH8ZZ66d70zd4ronszwlG5fPRlxCLhIy/r1OWcm/cCYewju9ejIhG7+ 3DymgsPrhDWqgVLV20PcjdhtY8huPhtPr/bBEwSytwafz2L63alELLX2w9vlj5jdpJ9y 83v023/xuBEIzjeLXD4qWpBwwkij4vsXCKBfo6UxhodNUonzGXL6Ay5oUZPTa9owmiZ8 v7AA== 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 e7si1448206pgq.581.2018.02.09.06.25.33; Fri, 09 Feb 2018 06:25:52 -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 S1752482AbeBIOWE (ORCPT + 99 others); Fri, 9 Feb 2018 09:22:04 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:57872 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752305AbeBIOWB (ORCPT ); Fri, 9 Feb 2018 09:22:01 -0500 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w19EJdrf017458 for ; Fri, 9 Feb 2018 09:22:01 -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 2g1acts42v-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 09 Feb 2018 09:22:00 -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, 9 Feb 2018 09:21:59 -0500 Received: from b01cxnp23034.gho.pok.ibm.com (9.57.198.29) by e17.ny.us.ibm.com (146.89.104.204) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 9 Feb 2018 09:21:56 -0500 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp23034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w19ELuFk42270774; Fri, 9 Feb 2018 14:21:56 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E1F3DB2052; Fri, 9 Feb 2018 09:18:50 -0500 (EST) Received: from paulmck-ThinkPad-W541 (unknown [9.80.219.97]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id 7E432B2054; Fri, 9 Feb 2018 09:18:49 -0500 (EST) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 203DC16C37A5; 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 01/10] tools/memory-model: Clarify the origin/scope of the tool name Date: Fri, 9 Feb 2018 06:20:22 -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-0040-0000-0000-000003F13109 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:59 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18020914-0041-0000-0000-000007E6A66A Message-Id: <1518186031-17997-1-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 From: Andrea Parri 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 --- tools/memory-model/MAINTAINERS | 2 +- tools/memory-model/README | 14 +++++++------- tools/memory-model/linux-kernel.bell | 2 +- tools/memory-model/linux-kernel.cat | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) 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. -- 2.5.2