Commit 8eeeed9
sched/fair: Remove useless check in select_idle_core()
The function select_idle_core() only gets called when has_idle_cores
is true which can be possible only when sched_smt_present is enabled.
This change also aligns select_idle_core() with select_idle_smt() in
the way that the caller do the check if necessary.
Signed-off-by: Abel Wu <wuyun.abel@bytedance.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Link: https://lore.kernel.org/r/20220907112000.1854-4-wuyun.abel@bytedance.com1 parent b9bae70 commit 8eeeed9
1 file changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6321 | 6321 | | |
6322 | 6322 | | |
6323 | 6323 | | |
6324 | | - | |
6325 | | - | |
6326 | | - | |
6327 | 6324 | | |
6328 | 6325 | | |
6329 | 6326 | | |
| |||
0 commit comments