mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-20 16:46:23 +08:00
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>
This commit is contained in:
parent
a206c07213
commit
2491b2b89d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user