lkml.org 
[lkml]   [2021]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [GIT PULL clocksource] Clocksource watchdog commits for v5.15
Date
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

\
 
 \ /
  Last update: 2021-08-12 15:47    [W:0.042 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site