sched: debug: fix cfs_rq->wait_runtime accounting
the cfs_rq->wait_runtime debug/statistics counter was not maintained properly - fix this. this also removes some code: text data bss dec hex filename 13420 228 1204 14852 3a04 sched.o.before 13404 228 1204 14836 39f4 sched.o.after Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
This commit is contained in:
@@ -858,7 +858,6 @@ static void dec_nr_running(struct task_struct *p, struct rq *rq)
|
||||
|
||||
static void set_load_weight(struct task_struct *p)
|
||||
{
|
||||
task_rq(p)->cfs.wait_runtime -= p->se.wait_runtime;
|
||||
p->se.wait_runtime = 0;
|
||||
|
||||
if (task_has_rt_policy(p)) {
|
||||
|
||||
Reference in New Issue
Block a user