Date: Fri, 9 May 2008 18:02:32 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Pawel Jakub Dawidek <pjd@freebsd.org>, rdivacky@freebsd.org Cc: cvs-src@freebsd.org, src-committers@freebsd.org, Oliver Fromme <olli@fromme.com>, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern subr_param.c Message-ID: <20080509150231.GI18958@deviant.kiev.zoral.com.ua> In-Reply-To: <20080509095911.GE2480@garage.freebsd.pl> References: <20080509091228.GC2480@garage.freebsd.pl> <200805090956.m499uEvT007906@haluter.fromme.com> <20080509095911.GE2480@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
--vpCYTxCMiL2duy47 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: > >=20 > > 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=3D20 > > > > > Log: > > > > > - Export HZ value via kern.hz sysctl (this is the same name a= s for the > > > > > loader tunable). > > > >=20 > > > > 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.) > > >=20 > > > 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. > >=20 > > 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. >=20 > 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. --vpCYTxCMiL2duy47 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkgkZ4cACgkQC3+MBN1Mb4ibMwCfTF4a9B5qQjAWENq5HzOC8IAh y3IAn2oHCLwJTLFbEtSGFkypL3e5vr89 =TpnF -----END PGP SIGNATURE----- --vpCYTxCMiL2duy47--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080509150231.GI18958>