mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
sched: debug: fix cfs_rq->wait_runtime accounting
the cfs_rq->wait_runtime debug/statistics counter was not maintained properly - fix this. this also removes some code: text data bss dec hex filename 13420 228 1204 14852 3a04 sched.o.before 13404 228 1204 14836 39f4 sched.o.after Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]>
This commit is contained in:
parent
a0dc72601d
commit
a206c07213
2 changed files with 5 additions and 6 deletions
|
|
@ -858,7 +858,6 @@ static void dec_nr_running(struct task_struct *p, struct rq *rq)
|
|||
|
||||
static void set_load_weight(struct task_struct *p)
|
||||
{
|
||||
task_rq(p)->cfs.wait_runtime -= p->se.wait_runtime;
|
||||
p->se.wait_runtime = 0;
|
||||
|
||||
if (task_has_rt_policy(p)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue