arm64/topology: getting preferred sibling's cpumask supported by platform
hulk inclusion category: performance bugzilla: https://gitee.com/openeuler/kernel/issues/I5QK5M CVE: NA -------------------------------- For some architectures, masking the underlying processor topology differences can make software unable to identify the cpu distance, which results in performance fluctuations. So we provide additional interface for getting preferred sibling's cpumask supported by platform, this siblings' cpumask indicates those CPUs which are clustered with relatively short distances, but this hardly depends on the specific implementation of the specific platform. Signed-off-by:Wang ShaoBo <bobo.shaobowang@huawei.com> Signed-off-by:
Yu Kuai <yukuai3@huawei.com> Reviewed-by:
Xiongfeng Wang <wangxiongfeng2@huawei.com> Reviewed-by:
Jason Yan <yanaijie@huawei.com> Signed-off-by:
Yongqiang Liu <liuyongqiang13@huawei.com>
Showing
- arch/arm64/Kconfig 15 additions, 0 deletionsarch/arm64/Kconfig
- arch/arm64/include/asm/smp_plat.h 14 additions, 0 deletionsarch/arm64/include/asm/smp_plat.h
- arch/arm64/kernel/smp.c 9 additions, 0 deletionsarch/arm64/kernel/smp.c
- arch/arm64/kernel/topology.c 52 additions, 0 deletionsarch/arm64/kernel/topology.c
- include/linux/arch_topology.h 12 additions, 0 deletionsinclude/linux/arch_topology.h
Please register or sign in to comment