From: Ingo Molnar Date: Mon, 15 Oct 2007 15:00:11 +0000 (+0200) Subject: sched: remove last_min_vruntime effect X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=dc1f31c90cfa067af6f7000db7a5383c7667ccba;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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