summaryrefslogtreecommitdiffstats
path: root/toolsoftrade
diff options
context:
space:
mode:
authorAkira Yokosawa <akiyks@gmail.com>2021-03-19 16:36:05 +0900
committerAkira Yokosawa <akiyks@gmail.com>2021-03-19 22:19:10 +0900
commitefdc90e37231b2f32600c1bd24721536d7f4639c (patch)
tree68224e4436aa0317699e6c8f05e8dc1170608907 /toolsoftrade
parent3ce06a266f7294085364cc5a26965c1e09561e9f (diff)
downloadperfbook-efdc90e37231b2f32600c1bd24721536d7f4639c.tar.gz
toolstotrade: Use path of atomic_t.txt under Linux-kernel source tree
atomic_ops.rst was removed during the v5.11 development cycle. Don't mention atomic_bitops.txt as it is not relevant in this section. Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Diffstat (limited to 'toolsoftrade')
-rw-r--r--toolsoftrade/toolsoftrade.tex6
1 files changed, 4 insertions, 2 deletions
diff --git a/toolsoftrade/toolsoftrade.tex b/toolsoftrade/toolsoftrade.tex
index d4d6fc74..fc36c3a9 100644
--- a/toolsoftrade/toolsoftrade.tex
+++ b/toolsoftrade/toolsoftrade.tex
@@ -2455,8 +2455,10 @@ the celebrated compare-and-swap (CAS) operation is provided by
\apik{atomic_cmpxchg()}.
Both of these return the old value.
Many additional atomic RMW primitives are available in the Linux kernel,
-see the \co{Documentation/core-api/atomic_ops.rst} file in the Linux-kernel
-source tree.
+see the \path{Documentation/atomic_t.txt} file in the Linux-kernel
+source tree.\footnote{
+ As of Linux kernel v5.11.
+}
This book's CodeSamples API closely follows that of the Linux kernel.