cvs commit: src/sys/kern subr_param.c
kostikbel at gmail.com
Fri May 9 15:31:03 UTC 2008
On Fri, May 09, 2008 at 11:59:11AM +0200, Pawel Jakub Dawidek wrote:
> On Fri, May 09, 2008 at 11:56:14AM +0200, Oliver Fromme wrote:
> > Pawel Jakub Dawidek wrote:
> > > On Fri, May 09, 2008 at 11:08:20AM +0200, Oliver Fromme wrote:
> > > > Pawel Jakub Dawidek wrote:
> > > > > Modified files:
> > > > > sys/kern subr_param.c=20
> > > > > 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.)
> > >
> > > The reason for this change was that I was trying to recall what is
> > > the name of the tunable and I wasn't able to find it with simple
> > > "sysctl -a | grep hz". In an ideal world most of not all loader
> > > tunables should also be visible as read-only sysctls.
> > Hm. It was my understanding that the loader tunables
> > are already exported via kenv(2), so typing "kenv"
> > should include them all. I was probably wrong, though.
> Only the one that are set (eg. by hints or by you in loader.conf).
> kenv(1) doesn't list all the tunables.
Meantime, all of the *siz ought to be writable sysctls. Roman Divacky had
the patches, I think they finally shall be committed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080509/4da483cd/attachment.pgp
More information about the cvs-src