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

Commit bad0cb41 authored by Joonwoo Park's avatar Joonwoo Park
Browse files

sched: clean up fixup_hmp_sched_stats()



The commit 392edf49 ("sched: avoid stale cumulative_runnable_avg
HMP statistics) introduced the callback function fixup_hmp_sched_stats()
so update_history() can avoid decrement and increment pair of HMP stat.
However the commit also made fixup function to do obscure p->ravg.demand
update which isn't the cleanest way.

Revise the function fixup_hmp_sched_stats() so the caller can update
p->ravg.demand directly.

Change-Id: Id54667d306495d2109c26362813f80f08a1385ad
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent 69ac846d
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