svn commit: r209765 - stable/8/sys/kern

Nathan Whitehorn nwhitehorn at FreeBSD.org
Wed Jul 7 14:15:51 UTC 2010


Author: nwhitehorn
Date: Wed Jul  7 14:15:51 2010
New Revision: 209765
URL: http://svn.freebsd.org/changeset/base/209765

Log:
  MFC r209490,209492:
  
  Move default HZ from 100 to 1000 on powerpc, and rearrange the logic
  slightly, so that it is set to 100 on ARM and MIPS and defaults to 1000,
  instead of defaulting to 100, and setting it to 1000 on everything but
  ARM and MIPS.
  
  Reviewed by:	marcel

Modified:
  stable/8/sys/kern/subr_param.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/kern/subr_param.c
==============================================================================
--- stable/8/sys/kern/subr_param.c	Wed Jul  7 12:44:19 2010	(r209764)
+++ stable/8/sys/kern/subr_param.c	Wed Jul  7 14:15:51 2010	(r209765)
@@ -53,10 +53,10 @@ __FBSDID("$FreeBSD$");
  */
 
 #ifndef HZ
-#  if defined(__amd64__) || defined(__i386__) || defined(__ia64__) || defined(__sparc64__)
-#    define	HZ 1000
-#  else
+#  if defined(__mips__) || defined(__arm__)
 #    define	HZ 100
+#  else
+#    define	HZ 1000
 #  endif
 #  ifndef HZ_VM
 #    define	HZ_VM 100


More information about the svn-src-stable-8 mailing list