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

Skip to content
Commit 622af2dc authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Gerrit - the friendly Code Review server
Browse files

sched/fair: upadte adjust_cpus_for_packing()



Two changes:

- Prefer idle cpu over an active CPU if the idle CPU is not
in a deep c-state than WFI.

- if target_cpus_count > 1 means, we have found two active
CPUs. so we assume packing on this active cpu does not raise
the frequency any more. since we select the target_cpu as the
least loaded cpu, we can go ahead and check if it can accmmodate
the task without raising the frequency or not. so remove that
limitation as well.

Change-Id: I0c226e977d28d8948ec9f09cf6a19f35420b3fd3
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent cf8acfa8
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