summaryrefslogtreecommitdiffstats
path: root/sys/pc98/i386
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-08-25 02:20:02 +0000
committerpeter <peter@FreeBSD.org>2001-08-25 02:20:02 +0000
commit70aca15c211e6081406e6a0b661a41594a64187a (patch)
tree507801bec2b11b2c70916032367a1906891044d6 /sys/pc98/i386
parentd244a653e5b56edafe3e4993347279dff7000cff (diff)
downloadFreeBSD-src-70aca15c211e6081406e6a0b661a41594a64187a.zip
FreeBSD-src-70aca15c211e6081406e6a0b661a41594a64187a.tar.gz
Optionize UPAGES for the i386. As part of this I split some of the low
level implementation stuff out of machine/globaldata.h to avoid exposing UPAGES to lots more places. The end result is that we can double the kernel stack size with 'options UPAGES=4' etc. This is mainly being done for the benefit of a MFC to RELENG_4 at some point. -current doesn't really need this so much since each interrupt runs on its own kstack.
Diffstat (limited to 'sys/pc98/i386')
-rw-r--r--sys/pc98/i386/machdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index 09151fa..c0d5eff 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -49,6 +49,7 @@
#include "opt_msgbuf.h"
#include "opt_npx.h"
#include "opt_perfmon.h"
+#include "opt_upages.h"
/* #include "opt_userconfig.h" */
#include <sys/param.h>
@@ -106,6 +107,9 @@
#ifdef PERFMON
#include <machine/perfmon.h>
#endif
+#ifdef SMP
+#include <machine/privatespace.h>
+#endif
#include <i386/isa/icu.h>
#include <i386/isa/intr_machdep.h>
OpenPOWER on IntegriCloud