From: Ingo Molnar Date: Wed, 5 Sep 2007 12:32:49 +0000 (+0200) Subject: sched: debug: fix sum_exec_runtime clearing X-Git-Tag: v2.6.23-rc6~15^2~4 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2491b2b89d4646e02ab51c90ab7012d124924ddc;p=linux-2.6 sched: debug: fix sum_exec_runtime clearing when cleaning sched-stats also clear prev_sum_exec_runtime. Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c index ab18f45f2a..c3ee38bd34 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; }