[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180205103038.GI2249@hirez.programming.kicks-ass.net>
Date: Mon, 5 Feb 2018 11:30:38 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Wen Yang <wen.yang99@....com.cn>
Cc: mingo@...hat.com, linux-kernel@...r.kernel.org,
jiang.biao2@....com.cn, zhong.weidong@....com.cn
Subject: Re: [PATCH] sched/rt: Make update_curr_rt() more accurate
On Mon, Feb 05, 2018 at 11:18:41AM +0800, Wen Yang wrote:
> rq->clock_task may be updated between the two calls of
> rq_clock_task() in update_curr_rt(). Calling rq_clock_task() only
> once makes it more accurate and efficient, taking update_curr() as
> reference.
>
> Signed-off-by: Wen Yang <wen.yang99@....com.cn>
> Reviewed-by: Jiang Biao <jiang.biao2@....com.cn>
Thanks!
Powered by blists - more mailing lists