Received: by 10.223.185.116 with SMTP id b49csp536043wrg; Wed, 21 Feb 2018 02:42:43 -0800 (PST) X-Google-Smtp-Source: AH8x224fdICSUZNxiXbwLvvbY/e6WRoL5HWwBe4X+0YhIl3r1xF0eLaceL65uoi7AAOKCps1L2rm X-Received: by 2002:a17:902:aa43:: with SMTP id c3-v6mr2744488plr.357.1519209763354; Wed, 21 Feb 2018 02:42:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519209763; cv=none; d=google.com; s=arc-20160816; b=F8Imj87QQNu/QUcqoBdyr7h2pn2i1jgXpzmy6AkKXGKy7nV+uPf7c/d+kWjqnmwvGY vUi8ON+utImP3By1hxdNGUf0Lgq4ySlHAU69MhO+NPipCUoE0w1TnEq+UoJh4dAy0YhL oEEKzlRsnm8lWO8xeO6r8CBQe4UE38/2lGUkBYldGXEEHlRM5va+sZ8CQrborwxSaizv 7WjBfS72JHC0BLYoj4pujBmsOeRLYJZfOg6vUI3TCmWSfc2ATysJ0NSCNZk5V+Xjl2AV 3VGM7IqTqSFVxU+Dtn3AXIoshoEzMpRup2OKPGMLARq0ZSKPBXu0DVdhQVWXKE6Zxt4F reAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=RYp760hrsOufBl22uKW6oQQNlxp/ODp/5NRFHfM26FA=; b=gNVLfQsTp3qlKvW9wXqSNq7KR8PKBnCt06xDUlyJh5ufOZvpRFO5JfUl/WYEv4N2iF ovRb1WFKN/OMPnapiuY5VloVZn+Pddt6eLQQ7t2tPAHVJlaiAQEQNHUeC+WOsFm5tEtd PenLHHuJ5CBDC6Ai+QLGJQXZykUbp6CYh1zG5IDruIm0RU7Hyg7eB3BiEpSJmDKrsZVh Oqip/m9s7PA+5VITlQx/1Au+7UOtQsQVmQz67ak81C/tAUec+QH80nHy8wVO8F9VMASo d/fTxn0gvmTz/vUwEZHA1KHlJJgXy+wZnuATm8GltCD1bqLQXCV7i50TvMEsxg0uLr1X DDPg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b185si1211001pgc.8.2018.02.21.02.42.28; Wed, 21 Feb 2018 02:42:43 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933405AbeBUKk4 (ORCPT + 99 others); Wed, 21 Feb 2018 05:40:56 -0500 Received: from terminus.zytor.com ([198.137.202.136]:53021 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752656AbeBUKky (ORCPT ); Wed, 21 Feb 2018 05:40:54 -0500 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTP id w1LAdPhG001587; Wed, 21 Feb 2018 02:39:25 -0800 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w1LAdOlp001583; Wed, 21 Feb 2018 02:39:24 -0800 Date: Wed, 21 Feb 2018 02:39:24 -0800 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Andrea Parri Message-ID: Cc: mingo@kernel.org, paulmck@linux.vnet.ibm.com, peterz@infradead.org, torvalds@linux-foundation.org, stern@rowland.harvard.edu, tglx@linutronix.de, hpa@zytor.com, linux-kernel@vger.kernel.org, will.deacon@arm.com, parri.andrea@gmail.com Reply-To: tglx@linutronix.de, linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@kernel.org, paulmck@linux.vnet.ibm.com, peterz@infradead.org, stern@rowland.harvard.edu, torvalds@linux-foundation.org, parri.andrea@gmail.com, will.deacon@arm.com In-Reply-To: <1519169112-20593-1-git-send-email-paulmck@linux.vnet.ibm.com> References: <1519169112-20593-1-git-send-email-paulmck@linux.vnet.ibm.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:locking/core] tools/memory-model: Clarify the origin/scope of the tool name Git-Commit-ID: 48d44d4e8a583c66d9f376e18c1a1fcc445f4b64 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 48d44d4e8a583c66d9f376e18c1a1fcc445f4b64 Gitweb: https://git.kernel.org/tip/48d44d4e8a583c66d9f376e18c1a1fcc445f4b64 Author: Andrea Parri AuthorDate: Tue, 20 Feb 2018 15:25:01 -0800 Committer: Ingo Molnar CommitDate: Wed, 21 Feb 2018 09:58:12 +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 Signed-off-by: Paul E. McKenney Acked-by: Peter Zijlstra Acked-by: Will Deacon Acked-by: Alan Stern Cc: Linus Torvalds Cc: Thomas Gleixner Cc: akiyks@gmail.com Cc: boqun.feng@gmail.com Cc: dhowells@redhat.com Cc: j.alglave@ucl.ac.uk Cc: linux-arch@vger.kernel.org Cc: luc.maranget@inria.fr Cc: nborisov@suse.com Cc: npiggin@gmail.com Link: http://lkml.kernel.org/r/1519169112-20593-1-git-send-email-paulmck@linux.vnet.ibm.com Signed-off-by: Ingo Molnar --- 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 711cbe7..db3bd3f 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 43ba494..91414a4 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 5711250..b984bbd 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 15b7a5d..babe2b3 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.