Strange results with changing HZ

David Jander david.jander at protonic.nl
Mon Nov 21 22:43:13 EST 2005


On Monday 21 November 2005 08:44, Wojciech Kromer wrote:
> My system is:
>  - 2.4.25 kernel from denx.de
>  - uclibc (gcc 3.4.2) + busybox
>  - changed HZ to 1000
>  - rebuild kernel only
>
> AFAIR there souldn't be any need to recompile user apps.

Just an uneducated guess, but are you sure uclibc doesn't depend on HZ at all?
Some things might be just straight syscalls, others might be implemented in 
userspace (inside uclibc)... for example alarm(1) programming an alarm on 
jiffies+1/HZ, and HZ being compiled in from kernel headers ?
I may just be talking rubbish though.

Greetings,

-- 
David Jander



More information about the Linuxppc-embedded mailing list