Skip to content
Commit 25bf4b96 authored by Douglas Raillard's avatar Douglas Raillard
Browse files

sched/cpufreq: sugov_cpu_is_busy for shared policy



Allow using sugov_cpu_is_busy() for policy from sugov_update_shared().
This means that the heuristic needs to return stable results across
multiple calls for a given CPU, even if there has been no utilization
change since last call.

sugov_cpu_is_busy() currently both checks business status and updates
the counters, so let's decouple the two actions.

Signed-off-by: Douglas Raillard's avatarDouglas RAILLARD <douglas.raillard@arm.com>
parent ee9cbfe4
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