Commit 4dd2760
sched/fair: ignore backup CPU when not valid
The find_best_target can sometimes not return a valid backup CPU, either
because it cannot find one or just becasue it returns prev_cpu as a backup.
In these cases we should skip the energy_diff evaluation for the backup CPU.
Change-Id: I3787dbdfe74122348dd7a7485b88c4679051bd32
Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
Signed-off-by: Chris Redpath <chris.redpath@arm.com>1 parent 406bf1f commit 4dd2760
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6686 | 6686 | | |
6687 | 6687 | | |
6688 | 6688 | | |
6689 | | - | |
| 6689 | + | |
| 6690 | + | |
| 6691 | + | |
6690 | 6692 | | |
6691 | 6693 | | |
6692 | 6694 | | |
| |||
0 commit comments