Date: Fri, 9 May 2008 11:56:14 +0200 (CEST) From: Oliver Fromme <olli@fromme.com> To: pjd@FreeBSD.org (Pawel Jakub Dawidek) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern subr_param.c Message-ID: <200805090956.m499uEvT007906@haluter.fromme.com> In-Reply-To: <20080509091228.GC2480@garage.freebsd.pl> from "Pawel Jakub Dawidek" at May 09, 2008 11:12:28 AM
next in thread | previous in thread | raw e-mail | index | archive | help
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. Thanks for the explanation. It's now clearer to me. Best regards Oliver -- Oliver Fromme, Bunsenstr. 13, 81735 Muenchen, Germany ``We are all but compressed light'' (Albert Einstein)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805090956.m499uEvT007906>