tools/memory-model: Add documentation of new litmus test
authorPaul E. McKenney <[email protected]>
Wed, 7 Mar 2018 17:27:39 +0000 (09:27 -0800)
committerIngo Molnar <[email protected]>
Sat, 10 Mar 2018 09:22:23 +0000 (10:22 +0100)
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 <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
tools/memory-model/litmus-tests/README

index dca7d823ad576575b2ab66f3fa979d229f701d4f..04096fb8b8d9158be2dc004847962dbd2bc03ff3 100644 (file)
@@ -32,6 +32,12 @@ IRIW+poonceonces+OnceOnce.litmus
        order of a pair of writes, where each write is to a different
        variable by a different process?
 
+ISA2+pooncelock+pooncelock+pombonce.litmus
+       Tests whether the ordering provided by a lock-protected S
+       litmus test is visible to an external process whose accesses are
+       separated by smp_mb().  This addition of an external process to
+       S is otherwise known as ISA2.
+
 ISA2+poonceonces.litmus
        As below, but with store-release replaced with WRITE_ONCE()
        and load-acquire replaced with READ_ONCE().