sched/fair: Allow prev cpu in find best target
Change 10f7dc075b87361d42d0145b74bfd75f28cc4545 ("sched/fair: dont run
energy calculation unless necessary") then assumed that the cpus
returned from find_best_target() would be used for energy evaluation.
Later, code was added to use the target cpu returned by fbt() in certain
latency sensitive situations. This lead to skipping prev_cpu, since it
could have been the target cpu had the above mentioned change not
dropped it.
So revert 10f7dc075b87361d42d0145b74bfd75f28cc4545 ("sched/fair: dont run
energy calculation unless necessary")
Change-Id: I06827ce9339f698dd3927a103b4c1a1ddbe123e2
Signed-off-by:
Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Loading
Please register or sign in to comment