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

Commit cf80de5a authored by Vikram Mulukutla's avatar Vikram Mulukutla Committed by Joonwoo Park
Browse files

sched: Introduce an irq_work to report WALT load



Since WALT stats relevant to the cpufreq governor are updated after the
completion of a window, and the governor needs to base its decisions
after having a complete picture of all the CPUs in a policy, introduce
an irq_work callback that's scheduled in the tick. This irq_work callback
will (for all CPUS) update WALT stats to ensure we have the latest for the
most recently completed window, and report those stats to the govneror
as well. This should get us as close as possible to the previous
solution of sched_get_cpus_busy without having to create a new interface.

Change-Id: Ica79396fc5dfc132b62764b3d01f8a507a2b63aa
Signed-off-by: default avatarVikram Mulukutla <markivx@codeaurora.org>
parent 44c971bb
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