cvs commit: src/sys/kern subr_param.c

Alfred Perlstein alfred at freebsd.org
Sat May 10 01:26:45 UTC 2008


* Oliver Fromme <olli at fromme.com> [080509 02:08] wrote:
> 
> Pawel Jakub Dawidek wrote:
>  >   Modified files:
>  >     sys/kern             subr_param.c 
>  >   Log:
>  >   - Export HZ value via kern.hz sysctl (this is the same name as for the
>  >     loader tunable).
> 
> It's probably just me, but I don't see the usefulness of
> this.  The HZ value is already exported via kern.clockrate.
> (I'm not saying the change is wrong, I'm just looking for
> an explanation.)
> 
> (On the other hand, how about exporting the value of the
> kernel variable "ticks"?  Just a thought.)

I've exported 'ticks' before for local hacks, it was useful, making it exported
in FreeBSD would be a good idea.

-- 
- Alfred Perlstein


More information about the cvs-all mailing list