lkml.org 
[lkml]   [1998]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Some ideas for the kernel wishlist
Date
> > 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

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.051 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site