diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-03-07 12:27:39 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-03-10 04:22:23 -0500 |
commit | ff1fe5e079730f138c98b268ce2e8482a1d954b4 (patch) | |
tree | 13e0d9093d69c574ddbd60b2e75c1ac25d1d2d1c /tools/memory-model | |
parent | d095c12c53c7b941ad4ea96dc229a08296b37d2e (diff) |
tools/memory-model: Add documentation of new litmus test
The litmus-tests/README file lacks any mention of the new litmus test
ISA2+pooncelock+pooncelock+pombonce.litmus. This commit therefore
adds a description of this test.
Reported-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.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: npiggin@gmail.com
Cc: parri.andrea@gmail.com
Cc: will.deacon@arm.com
Link: http://lkml.kernel.org/r/1520443660-16858-3-git-send-email-paulmck@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/memory-model')
-rw-r--r-- | tools/memory-model/litmus-tests/README | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/memory-model/litmus-tests/README b/tools/memory-model/litmus-tests/README index dca7d823ad57..04096fb8b8d9 100644 --- a/tools/memory-model/litmus-tests/README +++ b/tools/memory-model/litmus-tests/README | |||
@@ -32,6 +32,12 @@ IRIW+poonceonces+OnceOnce.litmus | |||
32 | order of a pair of writes, where each write is to a different | 32 | order of a pair of writes, where each write is to a different |
33 | variable by a different process? | 33 | variable by a different process? |
34 | 34 | ||
35 | ISA2+pooncelock+pooncelock+pombonce.litmus | ||
36 | Tests whether the ordering provided by a lock-protected S | ||
37 | litmus test is visible to an external process whose accesses are | ||
38 | separated by smp_mb(). This addition of an external process to | ||
39 | S is otherwise known as ISA2. | ||
40 | |||
35 | ISA2+poonceonces.litmus | 41 | ISA2+poonceonces.litmus |
36 | As below, but with store-release replaced with WRITE_ONCE() | 42 | As below, but with store-release replaced with WRITE_ONCE() |
37 | and load-acquire replaced with READ_ONCE(). | 43 | and load-acquire replaced with READ_ONCE(). |