Re: Validation of forward_delay seems wrong...

Andrew Lunn
2019-07-03T01:43:25Z

> Hi Andrew,
> The man page is wrong, these have been in USER_HZ scaled clock_t format from the beginning.
> TBH a lot of the time/delay bridge config options are messed up like that.

Hi Nikola

Yes, that is a mess.

arch/alpha/include/asm/param.h:# define USER_HZ 1024
arch/ia64/include/asm/param.h:# define USER_HZ HZ
include/asm-generic/param.h:# define USER_HZ 100

And ia64 does
# define HZ CONFIG_HZ

So it seems pretty hard for user space to get this right in a generic
fashion.

Andrew