Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>

+1 -1
+1 -1
Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.rst
··· 21 21 to see the effects of all accesses prior to the beginning of that grace 22 22 period that are within RCU read-side critical sections. 23 23 Similarly, any code that happens before the beginning of a given RCU grace 24 - period is guaranteed to see the effects of all accesses following the end 24 + period is guaranteed to not see the effects of all accesses following the end 25 25 of that grace period that are within RCU read-side critical sections. 26 26 27 27 Note well that RCU-sched read-side critical sections include any region