undo some of the recent changes that are not needed after all,
such as last_min_vruntime.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
u64 sum_exec_runtime;
u64 vruntime;
u64 prev_sum_exec_runtime;
u64 sum_exec_runtime;
u64 vruntime;
u64 prev_sum_exec_runtime;
#ifdef CONFIG_SCHEDSTATS
u64 wait_start;
#ifdef CONFIG_SCHEDSTATS
u64 wait_start;
p->se.exec_start = 0;
p->se.sum_exec_runtime = 0;
p->se.prev_sum_exec_runtime = 0;
p->se.exec_start = 0;
p->se.sum_exec_runtime = 0;
p->se.prev_sum_exec_runtime = 0;
- p->se.last_min_vruntime = 0;
#ifdef CONFIG_SCHEDSTATS
p->se.wait_start = 0;
#ifdef CONFIG_SCHEDSTATS
p->se.wait_start = 0;
vruntime += __sched_vslice(cfs_rq->nr_running + 1);
if (!initial) {
vruntime += __sched_vslice(cfs_rq->nr_running + 1);
if (!initial) {
- if (sched_feat(NEW_FAIR_SLEEPERS)) {
- s64 latency = cfs_rq->min_vruntime - se->vruntime;
- if (latency < 0 || !cfs_rq->nr_running)
- latency = 0;
- else
- latency = min_t(s64, latency, sysctl_sched_latency);
- vruntime -= latency;
- }
+ if (sched_feat(NEW_FAIR_SLEEPERS))
+ vruntime -= sysctl_sched_latency;
+
vruntime = max(vruntime, se->vruntime);
}
vruntime = max(vruntime, se->vruntime);
}
se->block_start = rq_of(cfs_rq)->clock;
}
#endif
se->block_start = rq_of(cfs_rq)->clock;
}
#endif
- /* se->vruntime = entity_key(cfs_rq, se); */
- se->last_min_vruntime = cfs_rq->min_vruntime;
}
if (se != cfs_rq->curr)
}
if (se != cfs_rq->curr)