Re: [PATCH] sched/deadline: Make update_curr_dl() more accurate

From: Juri Lelli
Date: Tue Feb 06 2018 - 02:26:43 EST


Hi,

On 06/02/18 09:55, Wen Yang wrote:
> rq->clock_task may be updated between the two calls of
> rq_clock_task() in update_curr_dl(). Calling rq_clock_task() only
> once makes it more accurate and efficient, taking update_curr() as
> reference.
>
> Signed-off-by: Wen Yang <wen.yang99@xxxxxxxxxx>
> Reviewed-by: Jiang Biao <jiang.biao2@xxxxxxxxxx>
> Suggested-by: Peter Zijlstra <peterz@xxxxxxxxxxxxx>

Acked-by: Juri Lelli <juri.lelli@xxxxxxxxxx>

Thanks!

- Juri