Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2019 01:19:32 +0000 (UTC)
From:      Philip Paeps <philip@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r351918 - head/sys/kern
Message-ID:  <201909060119.x861JWrG006910@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: philip
Date: Fri Sep  6 01:19:31 2019
New Revision: 351918
URL: https://svnweb.freebsd.org/changeset/base/351918

Log:
  riscv: default to HZ=100
  
  Most current RISC-V development platforms are not fast enough to benefit
  from the increased granularity provided by HZ=1000.
  
  Sponsored by:	Axiado

Modified:
  head/sys/kern/subr_param.c

Modified: head/sys/kern/subr_param.c
==============================================================================
--- head/sys/kern/subr_param.c	Fri Sep  6 00:06:55 2019	(r351917)
+++ head/sys/kern/subr_param.c	Fri Sep  6 01:19:31 2019	(r351918)
@@ -61,7 +61,7 @@ __FBSDID("$FreeBSD$");
  */
 
 #ifndef HZ
-#  if defined(__mips__) || defined(__arm__)
+#  if defined(__mips__) || defined(__arm__) || defined(__riscv)
 #    define	HZ 100
 #  else
 #    define	HZ 1000



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