diff options
| author | Joonwoo Park <joonwoop@codeaurora.org> | 2015-07-30 10:44:13 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:02:30 -0700 |
| commit | 383ae6b29eb14d498e3a57f40fa61115d910646d (patch) | |
| tree | 73e9270e5c0509fa24aa9a6d39580a7d23fa854c /kernel/sysctl_binary.c | |
| parent | 446beddcd4aeb4246c6a1f391063138bd4e899ee (diff) | |
sched: clean up fixup_hmp_sched_stats()
The commit 392edf4969d20 ("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
[joonwoop@codeaurora.org: stripped out CONFIG_SCHED_QHMP.]
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
