From owner-cvs-src@FreeBSD.ORG Fri May 9 15:31:03 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DBCD106564A; Fri, 9 May 2008 15:31:03 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by mx1.freebsd.org (Postfix) with ESMTP id DEB1A8FC0A; Fri, 9 May 2008 15:31:02 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.226] (helo=skuns.kiev.zoral.com.ua) by relay02.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JuU7U-000M4u-Iu; Fri, 09 May 2008 18:02:48 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m49F2Za6079378 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 May 2008 18:02:35 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m49F2WSq093940; Fri, 9 May 2008 18:02:32 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m49F2WrZ093939; Fri, 9 May 2008 18:02:32 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 9 May 2008 18:02:32 +0300 From: Kostik Belousov To: Pawel Jakub Dawidek , rdivacky@freebsd.org Message-ID: <20080509150231.GI18958@deviant.kiev.zoral.com.ua> References: <20080509091228.GC2480@garage.freebsd.pl> <200805090956.m499uEvT007906@haluter.fromme.com> <20080509095911.GE2480@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vpCYTxCMiL2duy47" Content-Disposition: inline In-Reply-To: <20080509095911.GE2480@garage.freebsd.pl> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on skuns.kiev.zoral.com.ua X-Scanner-Signature: 565941832c2f675ae953af64aa3a5396 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 2798 [May 08 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release Cc: cvs-src@freebsd.org, src-committers@freebsd.org, Oliver Fromme , cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern subr_param.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2008 15:31:03 -0000 --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--