Commit 18389c45 authored by Paul E. McKenney's avatar Paul E. McKenney

doc: Fix statement of RCU's memory-ordering requirements

The sentence defining the relationship of accesses before a grace
period to read-side accesses following that same grace period was
missing a small word: "not".  This commit therefore adds it.
Reported-by: default avatarFrederic Weisbecker <frederic@kernel.org>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 6efb943b
...@@ -21,7 +21,7 @@ Any code that happens after the end of a given RCU grace period is guaranteed ...@@ -21,7 +21,7 @@ Any code that happens after the end of a given RCU grace period is guaranteed
to see the effects of all accesses prior to the beginning of that grace to see the effects of all accesses prior to the beginning of that grace
period that are within RCU read-side critical sections. period that are within RCU read-side critical sections.
Similarly, any code that happens before the beginning of a given RCU grace Similarly, any code that happens before the beginning of a given RCU grace
period is guaranteed to see the effects of all accesses following the end period is guaranteed to not see the effects of all accesses following the end
of that grace period that are within RCU read-side critical sections. of that grace period that are within RCU read-side critical sections.
Note well that RCU-sched read-side critical sections include any region Note well that RCU-sched read-side critical sections include any region
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment