Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 2010 16:32:28 -0700
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Nathan Whitehorn <nwhitehorn@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r209490 - head/sys/kern
Message-ID:  <3659E546-80A0-4E82-8112-40B093728D81@mac.com>
In-Reply-To: <201006232326.o5NNQEtK011793@svn.freebsd.org>
References:  <201006232326.o5NNQEtK011793@svn.freebsd.org>

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

On Jun 23, 2010, at 4:26 PM, Nathan Whitehorn wrote:

> @@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$");
>  */
> 
> #ifndef HZ
> -#  if defined(__amd64__) || defined(__i386__) || defined(__ia64__) || defined(__sparc64__)
> +#  if defined(__amd64__) || defined(__i386__) || defined(__ia64__) || defined(__sparc64__) || defined(__powerpc__)
> #    define	HZ 1000
> #  else
> #    define	HZ 100

Would you mind inverting the #if statement? The common case is
obviously 1KHz, so listing the exceptions (I belief that's only
arm and mips) is more effective...

-- 
Marcel Moolenaar
xcllnt@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3659E546-80A0-4E82-8112-40B093728D81>