aboutsummaryrefslogtreecommitdiff
path: root/sys/ia64
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2005-08-06 19:59:23 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2005-08-06 19:59:23 +0000
commit045f23cd0d0fd6a436f30e7f91a79f60dc60353d (patch)
tree6b73a122e1964a60730bd75122e4a7cabd160a2a /sys/ia64
parentcbef4d0edcbe4c068a1b0bb1a3cd5cbb2e14e46b (diff)
downloadsrc-045f23cd0d0fd6a436f30e7f91a79f60dc60353d.tar.gz
src-045f23cd0d0fd6a436f30e7f91a79f60dc60353d.zip
Reduce the default MAXCPU from 16 to 4. This is in preparation of
allocating a VHPT per CPU. Since we don't yet know how many CPUs are actually in the system at the time we need to allocate the VHPTs, we allocate for MAXCPU processors. This can result in a lot of wasted space for 2-way machines. So, for now, limit MAXCPU to something smaller until we have something more dynamic.
Notes
Notes: svn path=/head/; revision=148805
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/include/param.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/include/param.h b/sys/ia64/include/param.h
index aceb12279c32..9c849d09c08f 100644
--- a/sys/ia64/include/param.h
+++ b/sys/ia64/include/param.h
@@ -83,7 +83,7 @@
#endif
#ifdef SMP
-#define MAXCPU 16
+#define MAXCPU 4
#else
#define MAXCPU 1
#endif