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

Skip to content
Commit 1abebc29 authored by Vikram Mulukutla's avatar Vikram Mulukutla
Browse files

sched: walt: Fix irq-work load reporting logic



Previously, the irq-work was not being scheduled because
of an uninit'ed atomic and the fact that windows may roll
over outside of the scheduler_tick() function.

Therefore, move the scheduling of the irq-work into the
update_task_ravg() function, and init the global atomic
the first time that the atomic compare-exchange results
in a zero.

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