Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4f27f181 authored by Puja Gupta's avatar Puja Gupta
Browse files

sched/fair: Ignore energy costs if prev_cpu is overutilized



find_energy_efficient_cpu() should return find_best_target() cpu and
ignore energy costs if prev_cpu is overutilized or isolated. This is
required since we have big little systems and upmigrate won't happen
as desired if we considered most energy efficient cpu.

While at it, also make check_for_migration() call
find_energy_efficient_cpu() unconditionally.

Change-Id: I269d9f78d4b3611f1befced94c53842a4ed7a046
Signed-off-by: default avatarPuja Gupta <pujag@codeaurora.org>
parent 17c1dc96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment