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

Skip to content
Commit 4b7577bb authored by Joonwoo Park's avatar Joonwoo Park Committed by Pavankumar Kondeti
Browse files

sched: optimize select_best_cpu() where !sched_enable_power_aware



All CPUs power costs are fixed as its capacity when EA (energy aware
scheduler) isn't enabled.  Thus select_best_cpu() doesn't need to
calculate power cost delta to check if power delta exceeds when EA is off.
Optimize select_best_cpu() with precalculated min/max capacity delta
percentage value.

CRs-fixed: 849655
Change-Id: Ib6a94ac2d9a62c9a7be4bb682092a16aea438459
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent 10baf3bf
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