diff options
author | 2023-06-29 20:58:43 +0800 | |
---|---|---|
committer | 2023-06-29 20:58:43 +0800 | |
commit | f6f0c9a74a48448583c3cb0f3f067bc3fe0f13c6 (patch) | |
tree | e31359d5a5de9d228a03ba15ca70a3855586c902 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | LoongArch: Add vector extensions support (diff) | |
download | wireguard-linux-f6f0c9a74a48448583c3cb0f3f067bc3fe0f13c6.tar.xz wireguard-linux-f6f0c9a74a48448583c3cb0f3f067bc3fe0f13c6.zip |
LoongArch: Add SMT (Simultaneous Multi-Threading) support
Loongson-3A6000 has SMT (Simultaneous Multi-Threading) support, each
physical core has two logical cores (threads). This patch add SMT probe
and scheduler support via ACPI PPTT.
If SCHED_SMT enabled, Loongson-3A6000 is treated as 4 cores, 8 threads;
If SCHED_SMT disabled, Loongson-3A6000 is treated as 8 cores, 8 threads.
Remove smp_num_siblings to support HMP (Heterogeneous Multi-Processing).
Signed-off-by: Liupu Wang <wangliupu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions