Received: by 10.223.176.5 with SMTP id f5csp485086wra; Fri, 2 Feb 2018 00:56:46 -0800 (PST) X-Google-Smtp-Source: AH8x225eyIjEnQZ+YtXZK79euCikmdClmh7u8WnVPtYNmyFWG7IDbIQPjg77driFP2wE6eUqboAw X-Received: by 10.99.124.66 with SMTP id l2mr1031116pgn.290.1517561806181; Fri, 02 Feb 2018 00:56:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517561806; cv=none; d=google.com; s=arc-20160816; b=aRsjgNEVjEP5ZlDSyhB+GEbzgdm32d6r/cwcio1Mi3SjLTIW5qsI942i3wlzfeiO3d Ys0kPzSl7XBL4M7M3ZBVUVrVvVlgZI3KFVOKz/7DXyfSOiRyyA91eNSzIo1QwyP97VFo I3Rv/81YOOss6cn16CFaoUPKY9zjqNTuZYtFA6EFKy83kwF8Js3B9px4q6jaxXsyQ4Iq mr1azgFLzMHGNiV2J1+G60Rd3DF630WiPyfcMbj0M6gHW+pGs3tYwSrNqD50hTZEHtBb otlLPEIogfaU1UlG58kfdvaCUh0jD5nDHZXN7kIudP6zrC09kmFgffwHYjA5vVOr5s1t xohA== 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=cYRkQI1F80O0GqjGsPF62xZnbwbFZocrDJ9txQtbmNs=; b=C9vwxM3hreXL6gRlOIJqlYB0dM8GrOV7i6PWDueNaXP0hQlisuv80t8BWf+Tg7Gi0I 6A5C2MtefK8LfO9bR5wlagjKjCl3hmJicFgJaUHX+ffzOlpyp+57v8bT2m2aDnZu8BZ8 5yolyxwBDdOBJJlEo078piDK+ShVaoNS/LgiM740DkrFGjPXTIA56AIG72kpCzp4vLBS /+pc9sYMHH0cmFv4K475ljpEBNfuRjwyMAVIA1R+ZDrBm/eJIbDUt9sBgUyeYGsOReks amKweH9yobe8d+ItIaM47oJ35SmOMgteQAjaTUqbmf8aWEWDHZAZM6mMXNFyYnXQzfcT 0wOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Pkqs0XUH; 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 33-v6si1389144pls.721.2018.02.02.00.56.31; Fri, 02 Feb 2018 00:56:46 -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=Pkqs0XUH; 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 S1751959AbeBBIyy (ORCPT + 99 others); Fri, 2 Feb 2018 03:54:54 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:53321 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751554AbeBBIyh (ORCPT ); Fri, 2 Feb 2018 03:54:37 -0500 Received: by mail-wm0-f65.google.com with SMTP id t74so10974191wme.3 for ; Fri, 02 Feb 2018 00:54:36 -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=cYRkQI1F80O0GqjGsPF62xZnbwbFZocrDJ9txQtbmNs=; b=Pkqs0XUH5qEhFncfI5qYu+7q6Wj9m5w7nm9GdNAGOTw4uF+lQYtVNdiQo0SL02tAz/ 83TDC7OFB0oMWOZaI0nEsGBXIQm8Jt33qg2AlTMc5F1wXkxQMoJ2UkBx+qFfGdcWqi2o QhyqJpCCJoO3SAveKin59GV35FVoa6HRvhZeXc3QusBG/RiPvTsJ8qfcOEGrmkHXOvsJ dhFqC9YWyB8zNpiCLofmNeHxpL8A//i0VVqVVKSx0HNVULV43OL9jeeWPxVwd89+C+Yu CZ95iZJYQ7F8JrabHaPy8SyX4EYzXIjzq79Y7QqYfWU1eqAiicHqoPL2XbUfPyX2SVMR 131Q== 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=cYRkQI1F80O0GqjGsPF62xZnbwbFZocrDJ9txQtbmNs=; b=LzQDL8D+Pc56O4OVLd9lWc5WxIQXfw6gTlgjalD2sLW6BHKpr771uOmcBYZOsu+ZE+ StQvr2xejKdN2nkTvYp06G2PnZ5m5gQ5xMDfSwpVxmCfmqppqkZkr8KKTnAH8h+1pKz6 rSaHD7wBGb2dnJv0L2+cQJQqJqHD/j20boSrdNcQP0ibtvNuqnxq3ETKL8nPWw4yV5RE eaJKZPSRdMtLr96Q/itDG+d7oxzvHbJnONc1/pQF0BdaAqzyVDgJYOrYeU5+Dpj15Sf4 A0DHs/YE3f8UGW92dsXTdJzZ8DiLRFv9lsAZg8Si/zfNHtKFB+IcSmijlkaPE8oMreYR Pw2w== X-Gm-Message-State: AKwxytdcNqsB6/1OCoQrzlS3AKxDQF3TXfgMX4kC3v+63UuAVmQ47KSo djP4+0O6hzwjDPaXG12SMR8= X-Received: by 10.28.71.135 with SMTP id m7mr29083555wmi.115.1517561675578; Fri, 02 Feb 2018 00:54:35 -0800 (PST) Received: from andrea (85.100.broadband17.iol.cz. [109.80.100.85]) by smtp.gmail.com with ESMTPSA id j132sm2290151wmd.38.2018.02.02.00.54.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Feb 2018 00:54:35 -0800 (PST) Date: Fri, 2 Feb 2018 09:54:27 +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: <20180202085427.GA5456@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. > > Andrea, when you resend your second patch, could you please add Alan's > Acked-by? You mean in order to integrate Will's suggestion? I was planning to send that as a separate patch, as suggested by Will: the patch is on its way, IAC, please let me know if you'd prefer a V2 merging the two changes. Andrea > > 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. >