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

Skip to content
Commit 2cdb1a13 authored by Saravana Kannan's avatar Saravana Kannan Committed by Jonathan Avila
Browse files

cpufreq: schedutil: Update hispeed load condition



Checking the utilization against current capacity can cause the hispeed
load condition to be unreliable. This can happen if the hispeed condition
is reevaluated after some other event (say, migration) causes the current
frequency (and thereby current capacity) to change.

So, instead of checking against current capacity, check against the average
capacity that is less temperamental.

Change-Id: Ic1277908f7d42848ded5dd450146d1d04572eaab
Signed-off-by: default avatarSaravana Kannan <skannan@codeaurora.org>
Signed-off-by: default avatarRohit Gupta <rohgup@codeaurora.org>
Signed-off-by: default avatarJonathan Avila <avilaj@codeaurora.org>
parent 410a1fce
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