]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3d0052996d3fe4f7e2aecd600a9d0038a29e7dfe
tree94f321aeaa8b48861875c8d44dad301e5e481d6c
parent86f5acaabd18c0bc8a2c8f8196c348f8ea99185d
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