diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-10-15 11:00:11 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-10-15 11:00:11 -0400 |
commit | dc1f31c90cfa067af6f7000db7a5383c7667ccba (patch) | |
tree | e5636c8fb549f2a71649596d3cfe95147c35c8bc /kernel/sched_fair.c | |
parent | 785c29ef9573d98b31493c9a68c3589449082108 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index 926491f7f803..0228de186503 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) | |||
481 | 481 | ||
482 | if (!initial) { | 482 | if (!initial) { |
483 | if (sched_feat(NEW_FAIR_SLEEPERS)) { | 483 | if (sched_feat(NEW_FAIR_SLEEPERS)) { |
484 | s64 latency = cfs_rq->min_vruntime - se->last_min_vruntime; | 484 | s64 latency = cfs_rq->min_vruntime - se->vruntime; |
485 | if (latency < 0 || !cfs_rq->nr_running) | 485 | if (latency < 0 || !cfs_rq->nr_running) |
486 | latency = 0; | 486 | latency = 0; |
487 | else | 487 | else |