summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeongJae Park <sj38.park@gmail.com>2024-02-04 08:45:00 -0800
committerPaul E. McKenney <paulmck@kernel.org>2024-02-08 09:16:59 -0800
commit62f1eebe31ef39d7bf94d9cabcbcd434282554cc (patch)
treeae96a0865ccdec451614a57b258b22ba717368c1
parent4ec5a9c12c7ff21a9783de2a672b886b41bc9cf9 (diff)
downloadperfbook-62f1eebe31ef39d7bf94d9cabcbcd434282554cc.tar.gz
appendix/whymb: Use \co{} for code
Some sentences in whymemorybarriers.tex is not using \co{} for code. Use it. Signed-off-by: SeongJae Park <sj38.park@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
-rw-r--r--appendix/whymb/whymemorybarriers.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/appendix/whymb/whymemorybarriers.tex b/appendix/whymb/whymemorybarriers.tex
index 1ca93f18..5cc7911b 100644
--- a/appendix/whymb/whymemorybarriers.tex
+++ b/appendix/whymb/whymemorybarriers.tex
@@ -823,7 +823,7 @@ void bar(void)
}
\end{VerbatimN}
-Suppose CPU~0 executes foo() and CPU~1 executes bar().
+Suppose CPU~0 executes \co{foo()} and CPU~1 executes \co{bar()}.
Suppose further that the cache line containing \qco{a} resides only in CPU~1's
cache, and that the cache line containing \qco{b} is owned by CPU~0.
Then the sequence of operations might be as follows: