Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2008 11:12:28 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Oliver Fromme <olli@fromme.com>
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:  <20080509091228.GC2480@garage.freebsd.pl>
In-Reply-To: <200805090908.m4998KvB007397@haluter.fromme.com>
References:  <200805090742.m497g3qL054749@repoman.freebsd.org> <200805090908.m4998KvB007397@haluter.fromme.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--WplhKdTI2c8ulnbP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, May 09, 2008 at 11:08:20AM +0200, Oliver Fromme wrote:
>=20
> 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 t=
he
>  >     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.)

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.

> (On the other hand, how about exporting the value of the
> kernel variable "ticks"?  Just a thought.)

No opinion on that one.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--WplhKdTI2c8ulnbP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFIJBV8ForvXbEpPzQRAoxsAJoDVjt6MzMlcajamfAGw/WIsDUq+QCfdVbr
c85JtgUo3cehHicIcl+RHhA=
=YEqM
-----END PGP SIGNATURE-----

--WplhKdTI2c8ulnbP--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080509091228.GC2480>