summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-09-05 16:32:49 +0400
committerIngo Molnar <mingo@elte.hu>2007-09-05 16:32:49 +0400
commit2491b2b89d4646e02ab51c90ab7012d124924ddc (patch)
tree10519d1322dfd9d861356de7c114cdd08c824ae4 /kernel
parenta206c07213cf6372289f189c3774c4c3255a7ae1 (diff)
downloadlinux-2491b2b89d4646e02ab51c90ab7012d124924ddc.tar.xz
sched: debug: fix sum_exec_runtime clearing
when cleaning sched-stats also clear prev_sum_exec_runtime. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched_debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c
index ab18f45f2ab2..c3ee38bd3426 100644
--- a/kernel/sched_debug.c
+++ b/kernel/sched_debug.c
@@ -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;
}