summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeongJae Park <sj38.park@gmail.com>2023-09-23 09:31:55 -0700
committerPaul E. McKenney <paulmck@kernel.org>2023-09-24 07:44:25 -0700
commit23e2ee8d3e7f92418b055befe77323874738156d (patch)
tree3eec02e2fef14a00e0dc357ec89f36c32fd61771
parent4d868154f6cfc15e25c6e74202c436b3762f4877 (diff)
downloadperfbook-23e2ee8d3e7f92418b055befe77323874738156d.tar.gz
memorder: Fix typos: s/,/./
Two sentences in memorder.tex are having commas instead of ending periods. Fix those. Signed-off-by: SeongJae Park <sj38.park@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
-rw-r--r--memorder/memorder.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/memorder/memorder.tex b/memorder/memorder.tex
index 1c882ea4..75e336dc 100644
--- a/memorder/memorder.tex
+++ b/memorder/memorder.tex
@@ -4103,7 +4103,7 @@ The following list of rules summarizes the lessons of this section:
\item If both legs of the \qco{if} statement begin with identical stores
to the same variable, then the control dependency will not order
- those stores,
+ those stores.
If ordering is needed, precede both of them with \co{smp_mb()} or
use \co{smp_store_release()}.
Please note that it is \emph{not} sufficient to use \co{barrier()}
@@ -4763,7 +4763,7 @@ Perhaps surprisingly, despite the empty critical section, RCU nevertheless
still manages to forbid the cycle.
This can again be checked using the \co{herd} tool.
Furthermore, the reasoning is once again similar to that for
-\cref{lst:memorder:What Happens Before RCU Readers?},
+\cref{lst:memorder:What Happens Before RCU Readers?}.
Recapping, if \co{P1()}'s \co{WRITE_ONCE()} follows the end of a given
grace period, then \co{P1()}'s RCU read-side critical section---and
everything following it---must follow the beginning of that same grace