提交 dc1f31c9 编写于 作者: I Ingo Molnar

sched: remove last_min_vruntime effect

remove last_min_vruntime use - prepare to remove it.
Signed-off-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
上级 785c29ef
...@@ -481,7 +481,7 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int initial) ...@@ -481,7 +481,7 @@ place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int initial)
if (!initial) { if (!initial) {
if (sched_feat(NEW_FAIR_SLEEPERS)) { 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) if (latency < 0 || !cfs_rq->nr_running)
latency = 0; latency = 0;
else else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册