doc: Fix statement of RCU's memory-ordering requirements
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 19 Mar 2021 23:30:15 +0000 (16:30 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 10 May 2021 22:39:19 +0000 (15:39 -0700)
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>
Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.rst

index a648b423ba0eb40b5be84f63f308888d8738f568..3f6ce41ee0c56928f7c746ca3d51c057916b7518 100644 (file)
@@ -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
 period that are within RCU read-side critical sections.
 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.
 
 Note well that RCU-sched read-side critical sections include any region