Skip to content

Commit

Permalink
sched: debug: fix sum_exec_runtime clearing
Browse files Browse the repository at this point in the history
when cleaning sched-stats also clear prev_sum_exec_runtime.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Sep 5, 2007
1 parent a206c07 commit 2491b2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/sched_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,4 +283,5 @@ void proc_sched_set_task(struct task_struct *p)
p->se.wait_runtime_overruns = p->se.wait_runtime_underruns = 0;
#endif
p->se.sum_exec_runtime = 0;
p->se.prev_sum_exec_runtime = 0;
}

0 comments on commit 2491b2b

Please sign in to comment.