OSDN Git Service
(root)
/
android-x86
/
kernel.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
ab18f45
..
c3ee38b
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;
}