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

Commit 060d79c2 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

sched: Take cluster's minimum power into account for optimizing sbc()



The select_best_cpu() algorithm iterates over all the clusters and
selects the most power efficient CPU that satisfies the task needs.
During the search, skip the next cluster if its minimum power cost
is higher than the power cost of an eligible CPU found in the previous
cluster.

In a b.L system, if the BIG cluster minimum power cost is higher than
the maximum power cost of the little cluster, this optimization avoids
searching the BIG cluster if an eligible CPU is found in the little
cluster.

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