Re: finding out the value of HZ from userspace

From: Arjan van de Ven
Date: Sat Mar 20 2004 - 05:29:44 EST



On Wed, Mar 17, 2004 at 10:38:03AM +1100, Peter Williams wrote:
> >there is one. Nothing uses it
> >(sysconf() provides this info)
>
> Seems to me that it would be fairly trivial to modify those programs
> (that should use this mechanism but don't) to use it? So why should
> they be allowed to dictate kernel behaviour?

quality of implementation; for example shell scripts that want to do
echo 500 > /proc/sys/foo/bar/something_in_HZ
...
or /etc/sysctl.conf or ...

Attachment: pgp00000.pgp
Description: PGP signature