!3774 [OLK-6.6] sched/fair: Scan cluster before scanning LLC in wake-up path
Merge Pull Request from: @liujie-248683921 This is the follow-up work to support cluster scheduler. Previously we have added cluster level in the scheduler for both ARM64[1] and X86[2] to support load balance between clusters to bring more memory bandwidth and decrease cache contention. This patchset, on the other hand, takes care of wake-up path by giving CPUs within the same cluster a try before scanning the whole LLC to benefit those tasks communicating with each other. [1] 778c558f ("sched: Add cluster scheduler level in core and related Kconfig for ARM64") [2] 66558b73 ("sched: Add cluster scheduler level for x86") Barry Song (2): sched: Add cpus_share_resources API sched/fair: Scan cluster before scanning LLC in wake-up path Yicong Yang (1): sched/fair: Use candidate prev/recent_used CPU if scanning failed for cluster wakeup include/linux/sched/sd_flags.h | 7 ++++ include/linux/sched/topology.h | 8 ++++- kernel/sched/core.c | 12 +++++++ kernel/sched/fair.c | 58 +++++++++++++++++++++++++++++++--- kernel/sched/sched.h | 2 ++ kernel/sched/topology.c | 25 +++++++++++++++ 6 files changed, 106 insertions(+), 6 deletions(-) -- 2.24.0 Link:https://gitee.com/openeuler/kernel/pulls/3774 Reviewed-by:Zucheng Zheng <zhengzucheng@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment