diff options
-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) 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 |