projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a206c07
)
sched: debug: fix sum_exec_runtime clearing
author
Ingo Molnar
<mingo@elte.hu>
Wed, 5 Sep 2007 12:32:49 +0000
(14:32 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 5 Sep 2007 12:32:49 +0000
(14:32 +0200)
when cleaning sched-stats also clear prev_sum_exec_runtime.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_debug.c
patch
|
blob
|
history
diff --git
a/kernel/sched_debug.c
b/kernel/sched_debug.c
index ab18f45f2ab23f6b76f6d8bf9a99e170892c9542..c3ee38bd3426d91449640d0d5329c7ead4ad038e 100644
(file)
--- 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;
}