Skip to content
Commit 7020cc8c 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() 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 e5a50117
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