sched: remove last_min_vruntime effect
remove last_min_vruntime use - prepare to remove it. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
This commit is contained in:
parent
785c29ef95
commit
dc1f31c90c
|
@ -481,7 +481,7 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int initial)
|
|||
|
||||
if (!initial) {
|
||||
if (sched_feat(NEW_FAIR_SLEEPERS)) {
|
||||
s64 latency = cfs_rq->min_vruntime - se->last_min_vruntime;
|
||||
s64 latency = cfs_rq->min_vruntime - se->vruntime;
|
||||
if (latency < 0 || !cfs_rq->nr_running)
|
||||
latency = 0;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue