]> git.baikalelectronics.ru Git - kernel.git/commit
sched/fair: Cleanup for SIS_PROP
authorAbel Wu <wuyun.abel@bytedance.com>
Wed, 7 Sep 2022 11:20:00 +0000 (19:20 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 7 Sep 2022 19:53:47 +0000 (21:53 +0200)
commit9c22e157785f2fcb95615fefccf18ee2de152285
treebc488c24569f03a555d13909d622c2f86a45578f
parentcaee68c0af7a638b8dbcfe616716edcd28b2ae7a
sched/fair: Cleanup for SIS_PROP

The sched-domain of this cpu is only used for some heuristics when
SIS_PROP is enabled, and it should be irrelevant whether the local
sd_llc is valid or not, since all we care about is target sd_llc
if !SIS_PROP.

Access the local domain only when there is a need.

Signed-off-by: Abel Wu <wuyun.abel@bytedance.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Mel Gorman <mgorman@suse.de>
Link: https://lore.kernel.org/r/20220907112000.1854-6-wuyun.abel@bytedance.com
kernel/sched/fair.c