Ville Skyttä wrote:
On Sunday 02 December 2007, Darren Salt wrote:
I demand that Klaus Schmidinger may or may not have written...
On 12/02/07 14:34, Darren Salt wrote:
I demand that Klaus Schmidinger may or may not have written...
I'll make it a 5 ms limit then, to allow default kernels to work.
Valid HZ options are 100, 250, 300 and 1000, unless overridden by an arch-specific Kconfig file. (AFAICS, only mips does this, offering 48, 100, 128, 250, 256, 1000 and 1024.)
Not that I really know much at all about this, but how would this change behave with NOHZ kernels?
Apparently resolution is reported as 1 ns regardless of HZ when NO_HZ is used:
$ ./hz cTimeMs: using monotonic clock (resolution is 1 ns) $ zcat /proc/config.gz | grep "_HZ=" CONFIG_NO_HZ=y CONFIG_HZ=100