Set default HZ to 1024 for amd64. The comment in kern/tty.c doesn't

apply here because we have 64 bit longs and don't suffer the hz > 169
overflows.
This commit is contained in:
Peter Wemm 2004-03-14 05:49:31 +00:00
parent e9f67e566b
commit 8f650450c6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126959

View File

@ -55,8 +55,12 @@ __FBSDID("$FreeBSD$");
*/
#ifndef HZ
#ifdef __amd64__
#define HZ 1024
#else
#define HZ 100
#endif
#endif
#define NPROC (20 + 16 * maxusers)
#ifndef NBUF
#define NBUF 0