Received: by 10.223.176.5 with SMTP id f5csp2656010wra; Thu, 1 Feb 2018 04:05:09 -0800 (PST) X-Google-Smtp-Source: AH8x224PKWduUccE/1yR/lZtVQxgc+AkK2As/ajixvZmhNB3yLSN+dhLNA8HTIBTuUXkt86kOVig X-Received: by 10.101.83.133 with SMTP id x5mr28525248pgq.244.1517486708951; Thu, 01 Feb 2018 04:05:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517486708; cv=none; d=google.com; s=arc-20160816; b=QnkGBgYZy2T6rPZ3YhAmNVASkt+gZvWc8d/t1kB5YaQDpFFvDbewF1PY1Z3B2b/wjk Kv0LZKnTS5sIRp0Bg4uXEKyFSFOCTRDJ3BSdQarP5FCPIPPrsj6AHKSYubVFkQHcq1oI K0qo0/RwKtegBnAyH9VfnR3BawDugyzPXU8E/sdoFavvafZwwkzF//WWb+xSZQlFZMFy 2spVWKTpt+AXa9p1bnauA19cj4qPsL1UR+WNgUMqlWH8g0CfFCJhmXOb1m0DfmwQq76O T5d2A9c4jj74R70yObteZTsxwJOlxNQ67ZolJd7enx/u0AW8LO1cdh9e4cCwVpVhIn6j HDEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=pgYDgXKtrM56BrdnclzfTbZo3Mw72uuZIvj0+uyj60k=; b=OfpQQ8vlrOE6KpmKHYLu6tl1kfwWjddA+0hkh0/PwGkdCK1S1sxWi//f/fjjiU/Rhd erTAFoAUlA5roJhD0MuzGupFa9rnkD5Y7EIaVPdBGHvELeqnXnX9aUEaWJMg84sYDVmz aiN30ZN49suM1f+NsEHTTvaf+1potl/C7eCV7/s4YGSor6cYPqfpawijRAtBXk898nnh 0phRXY1HfTJ565jg6GCJi0zcJAXrNjc+CdjiAfNG69O5zvErLH/60bLhvmVr+gP5dgV/ EFxgvxPD9W6GoZ9SBvPTYAJFAboC39g9Al1YPYyBNlG7Ls3fkPPXIuwWxxgwRfMl6keJ j/oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=moxS5afE; 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=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t13-v6si68411plr.411.2018.02.01.04.04.53; Thu, 01 Feb 2018 04:05:08 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=moxS5afE; 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=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752410AbeBAMER (ORCPT + 99 others); Thu, 1 Feb 2018 07:04:17 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:46338 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752044AbeBAMEQ (ORCPT ); Thu, 1 Feb 2018 07:04:16 -0500 Received: by mail-wr0-f195.google.com with SMTP id g21so18658756wrb.13 for ; Thu, 01 Feb 2018 04:04:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=pgYDgXKtrM56BrdnclzfTbZo3Mw72uuZIvj0+uyj60k=; b=moxS5afEhWSPbfkuzgA+8kIa3OMgkzvsj7+Sa65Zi/BL7BUv826MkJr5pWdpV9jHx3 Rou1Umi82fxfby7/+V31mq9C/3fHK5wFOPaIWCH+xMAashid0dyr5Y/UGDNke8vzCBAN NuSd9/AQga84D2xiP5O7uKo6oQIt8dmKwP0Q5BPY74TnUukatLCHErnjLp7Fg5gTWRzX UFAjsE8FHH7iuuBUxk2e3PeZaYMIp6N7yR/vzjdbIA87Uh37jbqmPiaHlpDTLpR6AKre qTYlEtf449prboaTPlG0vk63UPzGu/+ieVFuU1y18Og5rWF4uIfJeUCIVX6vsaLT1E6L 2cPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=pgYDgXKtrM56BrdnclzfTbZo3Mw72uuZIvj0+uyj60k=; b=Rp2cUWS7VWjA99YHeKin9gIFkQdgR/qxmqePqSLoMn2DgJLdpmuqnS/lDFS0HVE3Lj b38kAdmC9tG3VD+L0AzMQNcIhiGz6KUSz8h6KqLE7saa6BZmFxPCiHCG2BmVrPIBErC8 feaJMKtNxbYiLSkZZ1pBrJ6rKDzciYBaB6smHAj93qfDuWQ9E+7Xj25zkXWReYAfolUm lfOWrFDGSIK+T9WPWPWMqcAz/Uo7FYijGT4ZplbOPEsrKKsxSHwJVulBmVPK+mzgzfvq PDDF+pVjkI5ZTnqdvdowL/PwHacuzs6lruzaTPdxGNWf5HGoWESOjnxaZ5WBDsSeQPS8 oCdA== X-Gm-Message-State: AKwxytfUz14dA8JYa2LtdURfOx37ejJExwAQUo25TP83tMQKH+CuzJxV bn6lu2UmrOzgCGtzDVaySvs= X-Received: by 10.223.142.145 with SMTP id q17mr18549944wrb.44.1517486654554; Thu, 01 Feb 2018 04:04:14 -0800 (PST) Received: from andrea.amarulasolutions.com (85.100.broadband17.iol.cz. [109.80.100.85]) by smtp.gmail.com with ESMTPSA id h16sm19038833wre.43.2018.02.01.04.04.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Feb 2018 04:04:14 -0800 (PST) From: Andrea Parri To: stern@rowland.harvard.edu, 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, paulmck@linux.vnet.ibm.com Cc: linux-kernel@vger.kernel.org, mingo@kernel.org, Andrea Parri Subject: [PATCH 1/2] tools/memory-model: clarify the origin/scope of the tool name Date: Thu, 1 Feb 2018 13:03:29 +0100 Message-Id: <1517486609-10951-1-git-send-email-parri.andrea@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 711cbe72d6066..db3bd3fc0435b 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 43ba49492111c..91414a49fac53 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 57112505f5e03..b984bbda01a5c 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 15b7a5dd8a9af..babe2b3b0bb32 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.7.4