svn commit: r209490 - head/sys/kern
Juli Mallett
jmallett at FreeBSD.org
Thu Jun 24 02:57:07 UTC 2010
On Wed, Jun 23, 2010 at 19:26, M. Warner Losh <imp at bsdimp.com> wrote:
> : > # define HZ 1000
> : > # else
> : > # define HZ 100
>
> Shouldn't this be defined in some file in ARCH/include instead?
Didn't it used to be? I think the problem with doing that is that
then someone inevitably writes code that uses HZ instead of the
(tunable) hz. Of course, you can hide it behind an obscure #ifdef and
even give it an intimidating name.
More information about the svn-src-all
mailing list