Received: by 10.223.176.5 with SMTP id f5csp25328wra; Fri, 2 Feb 2018 15:49:05 -0800 (PST) X-Google-Smtp-Source: AH8x226Y5oIRmj3lv2M1yBBsgAkeczg+8MLwOkVnQ6aqjdlCrIs3lodDvjYNhEAqjP9cxqRnEIGl X-Received: by 2002:a17:902:6e88:: with SMTP id v8-v6mr36944659plk.374.1517615345233; Fri, 02 Feb 2018 15:49:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517615345; cv=none; d=google.com; s=arc-20160816; b=SJvZDZ8JLWakKskB5TJbiG77+uMKqNdR9Qw5JAKPc0REIrfrrNaHfxFawSLjRCoIb1 qjbaRLJE6Tp2eFOvyWjSMQ34PlIWTfrmdCLpGbl8r3/cABQ27fGh++hV4Hy9dpGNSdr4 l4qi8AyEpPtDmDHVXU2EbnjawFFBaT0Ws4RyPX8IDCCGXXsaFZRkRG8Sr6Gf5kQQs+Lb q0KUhncKuUUYSCenrEaWMB5OgNdycSdiuYiM1GD8jJdtYf7FA9BnfqlVUm3HqgLkykF0 I8Q9I2gdS0OPhTlzDBWNnaLAHFwt8WKKiwm2v+6jXi/C2mg9+eGA9vSdC0v8xR2sF9dQ lM8g== 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=W3ngjY4flGRCqeAIew0rh3HfJS+96apPm+9fUIxtBIc=; b=XwKROc9hQJWZs+U0af8xGBMdVpjYr0ZzQQA2fQUmPdwhHSRSHoI/ayO+THDcJ2bxwU 1c4NZWh5U2NShSC9ud2u9AQb2xkhad92ATKNVGZLigGhSlMs1KRkc6E8rC8pwhU2OMYz NfOIh8fVcYKwLur3HdLSIi8i3vx7c0STiqaHEhJypCse+vvwZG72J2Hxp+emdloTBk5h 0HznEWYvB6BzuGVu9YsDQFlIs/NeIj4wqHTIGPCaYmz3mMSl0BS1hohcgfnYnUFlaqPh SgxN4S/H7le9PxfmE+TWFJGRofoDNBg5OEu/eaDbItwrWeQA6Y7F1+UO2faUE50D5Qie Z4Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YyLB/SSZ; 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 bb10-v6si1958662plb.290.2018.02.02.15.48.50; Fri, 02 Feb 2018 15:49:05 -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=YyLB/SSZ; 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 S1752105AbeBBXqS (ORCPT + 99 others); Fri, 2 Feb 2018 18:46:18 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:36263 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751557AbeBBXqN (ORCPT ); Fri, 2 Feb 2018 18:46:13 -0500 Received: by mail-wm0-f65.google.com with SMTP id f3so15517776wmc.1 for ; Fri, 02 Feb 2018 15:46:13 -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=W3ngjY4flGRCqeAIew0rh3HfJS+96apPm+9fUIxtBIc=; b=YyLB/SSZrLlx5rdRcXKzKJpAd5nnTOWj1WXda9h7DTP1b6kgx3bnQlEPFRuha8823T u/D/bhgUrmR+aOTCTpSm+4+0NOUtkVykb+i7hUjvLL5PB8lyeTTG8vzTzT08/XC5hjYe e0mh9zeNAtHAggUwuFfas1yx9zyqOc7Yb6WUdiAD5gmh9sE4SaQrAjMceW0aIV3jLYee nEr1cfPwtxIKZYddmtd6ehJfUZKvcmzE7pJ/2TD73eGEv+UHtOfLj1wW6JTDNgEGm9OH wII8RLj8tf3uY6PQBK9eEdnhcs+XUOInUb8qeYxsma7WOfEsSEifkHqSfr+nXEY1Ipp7 yIRw== 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=W3ngjY4flGRCqeAIew0rh3HfJS+96apPm+9fUIxtBIc=; b=QrWi2CxNbc9qn2dX1aCRDQzMJN+yeNSvwswV8h1vKwAIYaD/YnTnXKYpfY0OX+l03A rbpQ95u8nYHXRRz1RyhcnAaclg5Jed8RUqurHUKOcPGkayMAmy+Ctpr4t7BDymyBLMV8 /8NBcFj+2RudsZHK1Gq4OdpiBdePr5aWDcDjS5vwX66PtwkjsrgC8MSrgfCGWbmkgPm9 4Op31FgNTZsKSAmCdFB4lpxdU+gOY+dmjQbXEjXHwY/S+XtfdbV/kbna09dz8HZAg0Ax bFfOU2n/VOVleRVEUaelUhNHythvClEkfTb/d5WoqapKK62me+kOsKJb7xdgSs5PAuY+ LDmQ== X-Gm-Message-State: AKwxytdwne7zCWtMv/4wEuBbTd9/ALlQ6E3t19XM3gAU4w7WCTgQAO58 rsG9QfAeWbrW/YrhctzUoVI= X-Received: by 10.28.220.66 with SMTP id t63mr22859306wmg.100.1517615172568; Fri, 02 Feb 2018 15:46:12 -0800 (PST) Received: from andrea (dynamic-2a00-1028-8386-da8a-98cd-7b64-ecf0-28cd.ipv6.broadband.iol.cz. [2a00:1028:8386:da8a:98cd:7b64:ecf0:28cd]) by smtp.gmail.com with ESMTPSA id j77sm7973376wmf.37.2018.02.02.15.46.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Feb 2018 15:46:12 -0800 (PST) Date: Sat, 3 Feb 2018 00:46:05 +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: <20180202234605.GA4187@andrea> References: <1517486609-10951-1-git-send-email-parri.andrea@gmail.com> <20180201230941.GT3741@linux.vnet.ibm.com> <20180202104421.GA31828@andrea> <20180202231922.GB3617@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180202231922.GB3617@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 Fri, Feb 02, 2018 at 03:19:22PM -0800, Paul E. McKenney wrote: > 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? Looks good to me. The same for 12a62a1d07031. Thanks, Andrea > > 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. >