From owner-cvs-src@FreeBSD.ORG Fri May 9 09:56:16 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 B05F21065686; Fri, 9 May 2008 09:56:16 +0000 (UTC) (envelope-from olli@fromme.com) Received: from haluter.fromme.com (unknown [IPv6:2a01:170:102f::3]) by mx1.freebsd.org (Postfix) with ESMTP id 248068FC1C; Fri, 9 May 2008 09:56:15 +0000 (UTC) (envelope-from olli@fromme.com) Received: from haluter.fromme.com (irc_sucks@localhost [127.0.0.1]) by haluter.fromme.com (8.13.4/8.13.4) with ESMTP id m499uEIK007908; Fri, 9 May 2008 11:56:14 +0200 (CEST) (envelope-from olli@fromme.com) Received: (from olli@localhost) by haluter.fromme.com (8.13.4/8.12.9/Submit) id m499uEvT007906; Fri, 9 May 2008 11:56:14 +0200 (CEST) From: Oliver Fromme Message-Id: <200805090956.m499uEvT007906@haluter.fromme.com> To: pjd@FreeBSD.org (Pawel Jakub Dawidek) Date: Fri, 9 May 2008 11:56:14 +0200 (CEST) In-Reply-To: <20080509091228.GC2480@garage.freebsd.pl> from "Pawel Jakub Dawidek" at May 09, 2008 11:12:28 AM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (haluter.fromme.com [127.0.0.1]); Fri, 09 May 2008 11:56:14 +0200 (CEST) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, 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 09:56:16 -0000 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)