sched/fair: Remove redundant check in select_idle_smt()
authorAbel Wu <wuyun.abel@bytedance.com>
Wed, 7 Sep 2022 11:19:56 +0000 (19:19 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 7 Sep 2022 19:53:46 +0000 (21:53 +0200)
commit3e6efe87cd5ccabf0f1d4e3ef25881ca0fd337e7
tree94f321aeaa8b48861875c8d44dad301e5e481d6c
parent33f93525799fa3c841b2ba93a56b2bb32ab11dc9
sched/fair: Remove redundant check in select_idle_smt()

If two cpus share LLC cache, then the two cores they belong to
are also in the same LLC domain.

Signed-off-by: Abel Wu <wuyun.abel@bytedance.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Josh Don <joshdon@google.com>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Link: https://lore.kernel.org/r/20220907112000.1854-2-wuyun.abel@bytedance.com
kernel/sched/fair.c