lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180205103128.GR2295@hirez.programming.kicks-ass.net>
Date:   Mon, 5 Feb 2018 11:31:28 +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:30:38AM +0100, Peter Zijlstra wrote:
> 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!

I just noticed update_curr_dl() has the exact same issue, could you also
do a patch for that?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ