Re: Some ideas for the kernel wishlist

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 6 Apr 1998 19:03:11 +0100 (BST)


> > But then there must be a sysctl to obtain the currently selected
> > value. So far, the libc has to guess and uses a constant value.
>
> Just make the sysctl read-only, and use the variable only for the sysctl
> interface (and the constant in the rest of the code).
>

Users wont have /proc mounted when they first need HZ. And sysctl is optional
right now. I guess 'sod it 100Hz' works for the non sysctl case. Also
caching it at glibc init means the cost is close to nil

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu