diff options
author | Zhouyi Zhou <zhouzhouyi@gmail.com> | 2023-12-30 08:07:24 +0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2023-12-30 16:23:22 -0800 |
commit | a9c41f82c76aee9d994f5fee6640c7b97287d22b (patch) | |
tree | 8c0fd5352934d77c5839e9457c2c5d8b7594acf9 | |
parent | c051e5946a5b7de107392d5ed12a33e398c121e1 (diff) | |
download | perfbook-a9c41f82c76aee9d994f5fee6640c7b97287d22b.tar.gz |
cpu: make Quick Quiz 3.6 more explicit
Rewrite Quick Quiz 3.6 for clarity and explicitness, so that the
firsttime reader know that another choice is CPU 0 sharing a core
with CPU 1.
This change was identified by Chinese version editor Yunjing Li in
the course of translating the book to Chinese.
Reported-by: Chinese version editor YunJing Li
Signed-off-by: Zhouyi Zhou<zhouzhouyi@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
-rw-r--r-- | cpu/overheads.tex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu/overheads.tex b/cpu/overheads.tex index 1ee9c52f..a2ec2998 100644 --- a/cpu/overheads.tex +++ b/cpu/overheads.tex @@ -262,7 +262,8 @@ CAS and lock, respectively. \QuickQuiz{ \Cref{tab:cpu:CPU 0 View of Synchronization Mechanisms on 8-Socket System With Intel Xeon Platinum 8176 CPUs at 2.10GHz} shows CPU~0 sharing a core with CPU~224. - Shouldn't that instead be CPU~1??? + However, isn't it more logical for CPU 0 + to share a core with CPU 1 instead of CPU 224??? }\QuickQuizAnswer{ It is easy to be sympathetic to this view, but the file \path{/sys/devices/system/cpu/cpu0/cache/index0/shared_cpu_list} |