]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
tools/memory-model: Clarify the origin/scope of the tool name
authorAndrea Parri <parri.andrea@gmail.com>
Tue, 20 Feb 2018 23:25:01 +0000 (15:25 -0800)
committerIngo Molnar <mingo@kernel.org>
Wed, 21 Feb 2018 08:58:12 +0000 (09:58 +0100)
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 <mingo@kernel.org>
Signed-off-by: Andrea Parri <parri.andrea@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
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 <mingo@kernel.org>
tools/memory-model/MAINTAINERS
tools/memory-model/README
tools/memory-model/linux-kernel.bell
tools/memory-model/linux-kernel.cat

index 711cbe72d6066a1441837037a9561571c8e03f27..db3bd3fc0435ba83157b896e2d068f3f31539231 100644 (file)
@@ -1,4 +1,4 @@
-LINUX KERNEL MEMORY MODEL
+LINUX KERNEL MEMORY CONSISTENCY MODEL
 M:     Alan Stern <stern@rowland.harvard.edu>
 M:     Andrea Parri <parri.andrea@gmail.com>
 M:     Will Deacon <will.deacon@arm.com>
index 43ba49492111ce55668aad492e2d0f72f5467e4b..91414a49fac53c2bd37093204e6b03554c1ad9de 100644 (file)
@@ -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
index 57112505f5e0327d15df8ba80846c20095ac0ec5..b984bbda01a5cb333cacc60f10813eeff98450ad 100644 (file)
@@ -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*) ||
index 15b7a5dd8a9af575f9bb83f4dc15938de4a4bd39..babe2b3b0bb3215306854c7cf5f5deb711887e10 100644 (file)
@@ -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.