Repository navigation
Commit 56498cf
sched/fair: Avoid a second scan of target in select_idle_cpu
When select_idle_cpu starts scanning for an idle CPU, it starts with
a target CPU that has already been checked by select_idle_sibling.
This patch starts with the next CPU instead.
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20210804115857.6253-3-mgorman@techsingularity.net1 parent 89aafd6 commit 56498cf
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6220 | 6220 | | |
6221 | 6221 | | |
6222 | 6222 | | |
6223 | | - | |
| 6223 | + | |
6224 | 6224 | | |
6225 | 6225 | | |
6226 | 6226 | | |
| |||
0 commit comments