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

Skip to content
Commit c4a41dd9 authored by Ionela Voinescu's avatar Ionela Voinescu Committed by Abhijeet Dharmapurikar
Browse files

ANDROID: sched/fair: unify spare capacity calculation



Given that we have a few sites where the spare capacity of a CPU is
calculated as the difference between the original capacity of the CPU
and its computed new utilization, let's unify the calculation and use
that value tracked with a local spare_cap variable.

Change-Id: I78daece7543f78d4f74edbee5e9ceb62908af507
Signed-off-by: default avatarIonela Voinescu <ionela.voinescu@arm.com>
Git-commit: 5383285d
Git-repo: http://android.googlesource.com/kernel/common


[adharmap@codeaurora.org: spare_cap is already used in 4.14
baseline, rename that to spare_wake_cap to avoid name collision]
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent 74bdb76f
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