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]
Date:   Thu, 22 Aug 2019 14:41:28 +0200
From:   Frederic Weisbecker <frederic@...nel.org>
To:     Thomas Gleixner <tglx@...utronix.de>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        Oleg Nesterov <oleg@...hat.com>,
        Ingo Molnar <mingo@...nel.org>,
        Peter Zijlstra <peterz@...radead.org>,
        John Stultz <john.stultz@...aro.org>,
        Anna-Maria Behnsen <anna-maria@...utronix.de>,
        Christoph Hellwig <hch@....de>
Subject: Re: [patch V2 07/38] posix-cpu-timers: Rename
 thread_group_cputimer() and make it static

On Wed, Aug 21, 2019 at 09:08:54PM +0200, Thomas Gleixner wrote:
> thread_group_cputimer() is a complete misnomer. The function does two things:
> 
>  - For arming process wide timers it makes sure that the atomic time
>    storage is up to date. If no cpu timer is armed yet, then the atomic
>    time storage is not updated by the scheduler for performance reasons.
> 
>    In that case a full summing up of all threads needs to be done and the
>    update needs to be enabled.
> 
> - Samples the current time into the caller supplied storage.
> 
> Rename it to thread_group_start_cputime(), make it static and fixup the
> callsite.
> 
> Signed-off-by: Thomas Gleixner <tglx@...utronix.de>

Reviewed-by: Frederic Weisbecker <frederic@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ