Skip to content

Commit c425fb5

Browse files
joelagnelpaulmckrcu
authored andcommitted
Documentation/litmus-tests: Cite an RCU litmus test
This commit cites a pertinent RCU-related litmus test. Co-developed-by: Joel Fernandes (Google) <[email protected]> Co-developed-by: Akira Yokosawa <[email protected]> [Alan: grammar nit] [ paulmck: Update commit log and title per Akira feedback. ] Suggested-by: Alan Stern <[email protected]> Signed-off-by: Joel Fernandes (Google) <[email protected]> Signed-off-by: Akira Yokosawa <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent cdaac9d commit c425fb5

File tree

1 file changed

+4
-0
lines changed
  • Documentation/litmus-tests

1 file changed

+4
-0
lines changed

Documentation/litmus-tests/README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus
2424
RCU (/rcu directory)
2525
--------------------
2626

27+
MP+onceassign+derefonce.litmus (under tools/memory-model/litmus-tests/)
28+
Demonstrates the use of rcu_assign_pointer() and rcu_dereference() to
29+
ensure that an RCU reader will not see pre-initialization garbage.
30+
2731
RCU+sync+read.litmus
2832
RCU+sync+free.litmus
2933
Both the above litmus tests demonstrate the RCU grace period guarantee

0 commit comments

Comments
 (0)