summaryrefslogtreecommitdiffstats
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-10-15 17:00:11 +0200
committerIngo Molnar <mingo@elte.hu>2007-10-15 17:00:11 +0200
commitdc1f31c90cfa067af6f7000db7a5383c7667ccba (patch)
treee5636c8fb549f2a71649596d3cfe95147c35c8bc /kernel/sched_fair.c
parent785c29ef9573d98b31493c9a68c3589449082108 (diff)
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>
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r--kernel/sched_fair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index 926491f7f80..0228de18650 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -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