sched: remove last_min_vruntime effect
authorIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:11 +0000 (17:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:11 +0000 (17:00 +0200)
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>
kernel/sched_fair.c

index 926491f..0228de1 100644 (file)
@@ -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