Message ID | CADcy93UdnDA+6Q7H+rKpZhbAO_-cPkZ+wVSOqGr8YQ5pMg1=xQ@mail.gmail.com |
---|---|
State | New |
Headers | show |
On 4 February 2015 at 21:28, Xunlei Pang <pang.xunlei@linaro.org> wrote: > Hi Kirill, > > I've also sent out this similar patch to yours before, > and I agree with you on this point :-) > > But with the latest modification which peter made, > ( see: cebde6d681aa45f96111cfcffc1544cf2a0454ff ) My mistake, the commit should be: 9edfbfed3f544a7830d99b341f0c175995a02950 (tip tree) Thanks, Xunlei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index e5db8c6..5648e62 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c @@ -915,7 +915,11 @@ static void yield_task_dl(struct rq *rq) rq->curr->dl.dl_yielded = 1; p->dl.runtime = 0; } + + update_rq_clock(rq); update_curr_dl(rq); + /* Will go to schedule(), to avoid another clock update. */ + rq_clock_skip_update(rq, true); } #ifdef CONFIG_SMP