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

Skip to content
Commit 646fe8f4 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

sched/fair: Consider an idle CPU outside c-state as an active CPU



The find_best_target() selects an active CPU and an idle CPU as
two candidate CPUs. Whichever CPUs saves the most energy compared
to the previous CPU is selected finally. An idle CPU i.e no runnable
tasks but also outside c-state is a good candidate to run the
waking task since the task can run immediately and there is no
idle exit latency. Hence consider such CPU as an active CPU which
helps both power and performance.

Change-Id: I34f40c2dbca70995a8e6b4a8d5876f802bc000bc
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 9d4600a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment