Skip to content

Commit cdaac9d

Browse files
akiykspaulmckrcu
authored andcommitted
Documentation/litmus-tests: Merge atomic's README into top-level one
Where Documentation/litmus-tests/README lists RCU litmus tests, Documentation/litmus-tests/atomic/README lists atomic litmus tests. For symmetry, merge the latter into former, with some context adjustment in the introduction. Acked-by: Andrea Parri <[email protected]> Acked-by: Joel Fernandes (Google) <[email protected]> Acked-by: Boqun Feng <[email protected]> Signed-off-by: Akira Yokosawa <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 9725dd5 commit cdaac9d

File tree

2 files changed

+19
-16
lines changed

2 files changed

+19
-16
lines changed

Documentation/litmus-tests/README

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22
LITMUS TESTS
33
============
44

5+
Each subdirectory contains litmus tests that are typical to describe the
6+
semantics of respective kernel APIs.
7+
For more information about how to "run" a litmus test or how to generate
8+
a kernel test module based on a litmus test, please see
9+
tools/memory-model/README.
10+
11+
12+
atomic (/atomic derectory)
13+
--------------------------
14+
15+
Atomic-RMW+mb__after_atomic-is-stronger-than-acquire.litmus
16+
Test that an atomic RMW followed by a smp_mb__after_atomic() is
17+
stronger than a normal acquire: both the read and write parts of
18+
the RMW are ordered before the subsequential memory accesses.
19+
20+
Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus
21+
Test that atomic_set() cannot break the atomicity of atomic RMWs.
22+
23+
524
RCU (/rcu directory)
625
--------------------
726

Documentation/litmus-tests/atomic/README

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)