Skip to content

Commit

Permalink
sched: remove last_min_vruntime effect
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar committed Oct 15, 2007
1 parent 785c29e commit dc1f31c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dc1f31c

Please sign in to comment.