From dc1f31c90cfa067af6f7000db7a5383c7667ccba Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Mon, 15 Oct 2007 17:00:11 +0200 Subject: [PATCH] sched: remove last_min_vruntime effect remove last_min_vruntime use - prepare to remove it. Signed-off-by: Ingo Molnar Signed-off-by: Peter Zijlstra --- kernel/sched_fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2