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, 12 Aug 2021 15:46:42 +0200
From:   Thomas Gleixner <tglx@...utronix.de>
To:     paulmck@...nel.org
Cc:     linux-kernel@...r.kernel.org, john.stultz@...aro.org,
        kernel-team@...com, ak@...ux.intel.com, rong.a.chen@...el.com,
        sboyd@...nel.org
Subject: Re: [GIT PULL clocksource] Clocksource watchdog commits for v5.15

On Wed, Aug 11 2021 at 17:01, Paul E. McKenney wrote:
> This pull request contains a single change that prevents clocksource
> watchdog testing on systems with HZ < 100, thus preventing the integer
> underflow that can occur on leisurely HZed systems.  This has been
> posted to LKML:
>
> https://lore.kernel.org/lkml/20210721212755.GA2066078@paulmck-ThinkPad-P17-Gen-1/

So with HZ < 100 .mult overflows, but why not simply adjusting the
mult, shift value to be

      .mult	= TICK_NSEC,
      .shift	= 0,

which is effectively the same as

      .mult	= TICK_NSEC << 8,
      .shift	= 8,

Hmm?

Thanks,

        tglx

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ