Received: by 10.223.176.5 with SMTP id f5csp580134wra; Fri, 2 Feb 2018 02:45:22 -0800 (PST) X-Google-Smtp-Source: AH8x2244me553vlHdxGL0Y0gADlD0Baor7BQjk8zFtsy4AEvd7jN/jzUpGu2PEGEaclBS5kdISxU X-Received: by 10.98.31.70 with SMTP id f67mr5848085pff.196.1517568322506; Fri, 02 Feb 2018 02:45:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517568322; cv=none; d=google.com; s=arc-20160816; b=ywaxlMn6agSUkGsDCeM0EvflG8Ws0H9TTjCCBy6i7haje6/3FTaK3bNB9+Z5VkQ0f/ nxCjAGWk40n0nd9KcUrzQmrMU+r3SOt+rl2xCYDgm8nFgVA/Aj/Zun57wpSOoq2pzPe6 oqzwwCQFS0nK2drUnn6gSGYfiLBCgeXHvq97LQE9IWXrv+Gsl2wSVJgAddkcHg4pbFhj 3poxmIR4hk2cZ33hOPPyt3Z0KuW2BXymW85suBxVi8YoUhcSKqgPnIKhCAX2z91ExqEC 96ut/bdd6cQE6mXLiTiHmLiRG/rmL6rdW9IvCgnQ7vQU8qcElLty89FySQjrlPs0I79c COmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=bYk0DlRGODoSRzI2JKfLVAAoeBGaZB5OvRk1yAqyU+4=; b=lLL/pUX2IVpA6NUQZbFt6WBroTFI6gfJwlL65l2ftPE10lfCL2Iyj6cGjDTk5ISU3S +5Kde0D26za/b7qg4CeVaOBwlDPHwqkcEagGEMGYTczCZxHY91EW++KiFo7w4jqFf8BF HJN/Cq6Om35NDFfOORwI67YAoE9X5rHQUc0WKXHTbbaAVr9pVrnQSqx9eB35iUDaJWZc hRkx5+AuMdUQ5jCfb+52S63Rh0EHCpa8ZnujCSVoKpC03FEwnigsHz8a2i4LfgosefK2 0VHJ5QI8+095glPXtauV+/a5mZI0/Y5rWuz1y50rxcz34oGWI2Xy+1jaglHysqDzW7zJ 547Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uLLpNepa; 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 e63-v6si1571842plb.305.2018.02.02.02.45.07; Fri, 02 Feb 2018 02:45:22 -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=uLLpNepa; 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 S1751959AbeBBKoh (ORCPT + 99 others); Fri, 2 Feb 2018 05:44:37 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:42370 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751671AbeBBKob (ORCPT ); Fri, 2 Feb 2018 05:44:31 -0500 Received: by mail-wr0-f194.google.com with SMTP id 41so20717535wrc.9 for ; Fri, 02 Feb 2018 02:44:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=bYk0DlRGODoSRzI2JKfLVAAoeBGaZB5OvRk1yAqyU+4=; b=uLLpNepaxODuIpaqwrMWjMmfRimiub1ejpDrV9wmYuuHS8EyLLIV2S2eWznpqW1BdU jWMZGpT7ktidni6ApfKVYr1hJiWoqF+ldkjOQcR4ymC1yyGwJoLC7nthOEjDNqWl90is sZjEwKWwAroYvR4LV7R2xHKnocgnwC7pighElLmrNKO73iAHsdhmeCBr+rltvi4swz60 YRkkQuJ2FUO77rHa9W4ugAK/iyBDJz0AcVUoZxEx+3ENi3bX5Xa5nB7PQxuhN/LHGzwF USrIVfnhClnLnuPnu8ZpO64ttsfE343huMalsO/CE4JiYudsFgG8KX99Km5DzQl0TFWK GUig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=bYk0DlRGODoSRzI2JKfLVAAoeBGaZB5OvRk1yAqyU+4=; b=FKLqqcXksR/t7zXsdCihffubahd+pHmrVFbIR6i0UvmyI7LhQmLe4Wi6EtUOwrtU+G aeFnjVftkdIcTlUybzv/gFxYkB0bk6yBRijuUv4rZcMvjx+HGr/I6cT/U+L8bJjLo9tR IRS0p9jQ9uo4+mt5sRRtVUG3MxnLb3iw4+Y9c4K5uPeNYJsywDL1NrKDCEconYrWwoGD AKFf9OmCRBHqtELuQEEHBMu0FL8/aYxUC4e8DDwagB9cWwv4PwBn7NbRwaewM9tom6X2 DxAw2ctUp6oWFd+xx1J5IBZGxveyY6dOiVve2k2Hfn6klkgtP9bjmIZnNJtw57gpNpRH nyFg== X-Gm-Message-State: AKwxytdu/0JfDvsWJLfPrTGGifVMW1EbesqCzMCK7mJY1OkVqruImq74 wLYOx9qN9FeRjIVFh3e+yAA= X-Received: by 10.223.160.82 with SMTP id l18mr11347625wrl.76.1517568269665; Fri, 02 Feb 2018 02:44:29 -0800 (PST) Received: from andrea (85.100.broadband17.iol.cz. [109.80.100.85]) by smtp.gmail.com with ESMTPSA id k20sm3228874wmh.20.2018.02.02.02.44.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Feb 2018 02:44:28 -0800 (PST) Date: Fri, 2 Feb 2018 11:44:21 +0100 From: Andrea Parri To: "Paul E. McKenney" 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 Message-ID: <20180202104421.GA31828@andrea> References: <1517486609-10951-1-git-send-email-parri.andrea@gmail.com> <20180201230941.GT3741@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180201230941.GT3741@linux.vnet.ibm.com> User-Agent: Mutt/1.5.24 (2015-08-30) 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 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". Andrea > > 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. >