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:
Puja Gupta <pujag@codeaurora.org>
Loading
Please register or sign in to comment