summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2026-02-10 19:31:13 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2026-02-10 19:31:13 +0800
commit009ee0c96416ecd0c568af72ee37965e06bde460 (patch)
tree361f963199ca7e843c97232f15909d1cd7814126 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent94b0c831eda778ae9e4f2164a8b3de485d8977bb (diff)
LoongArch: Add HOTPLUG_SMT implementation
For benchmarking or debugging purpose, we usually want to control SMT via boot parameter and sysfs knobs. So add HOTPLUG_SMT implementation. 1. Boot parameters: nosmt: Disable SMT, can be enabled via sysfs knobs. nosmt=force: Disable SMT, cannot be enabled via sysfs knobs. 2. Runtime sysfs controls: Write "on", "off", "forceoff" or the number of SMT threads (1, 2, ...) to /sys/devices/system/cpu/smt/control. Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions