Commit 4e8e7d6
sched: EAS: update trg_cpu to backup_cpu if no energy saving for target_cpu
If no energy saving for target_cpu in the calculation of energy_diff(),
backup_cpu will be set as the new dst_cpu for the next calculation. At this
point, we also need update the new trg_cpu as backup_cpu to make sure the
subsequent calculation of energy_diff() is correct.
Signed-off-by: Ke Wang <ke.wang@spreadtrum.com>1 parent bf9ce3c commit 4e8e7d6
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6723 | 6723 | | |
6724 | 6724 | | |
6725 | 6725 | | |
| 6726 | + | |
6726 | 6727 | | |
6727 | 6728 | | |
6728 | 6729 | | |
| |||
0 commit comments