summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2005-08-06 19:59:23 +0000
committermarcel <marcel@FreeBSD.org>2005-08-06 19:59:23 +0000
commit6d02e606c3b3e5baa55bfa0dc420c86f1f09d339 (patch)
tree6b73a122e1964a60730bd75122e4a7cabd160a2a
parent540bfa469ba12b97e81556eec121c088abfdaa45 (diff)
downloadFreeBSD-src-6d02e606c3b3e5baa55bfa0dc420c86f1f09d339.zip
FreeBSD-src-6d02e606c3b3e5baa55bfa0dc420c86f1f09d339.tar.gz
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.
-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 aceb122..9c849d0 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
OpenPOWER on IntegriCloud