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

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

sched: optimize best_small_task_cpu() loop



Optimize function best_small_task_cpu() with followings:

- Return immediately once idle CPU which isn't a low power mode.
- Reduce calls of scale_load_to_cpu() when energy aware scheduler is off.
- Clear search_cpus later.

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