summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-20 15:59:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-20 15:59:13 +0000
commitae5d53a181560f61721ef6e4e01cc3a36a0c92c3 (patch)
tree33b9d88532891f3765960754d2129b79f63ae560 /sys/arch
parentcddb4405ea22f8e41d6494ba16671ae2035735e0 (diff)
constrain bufcache on sun4m too
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/sparc/machdep.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c
index e2b195565b3..1cb608323a6 100644
--- a/sys/arch/sparc/sparc/machdep.c
+++ b/sys/arch/sparc/sparc/machdep.c
@@ -344,10 +344,8 @@ allocsys(v)
if (nbuf < 16)
nbuf = 16;
}
-#if defined(SUN4C) || defined(SUN4)
- if ((CPU_ISSUN4C || CPU_ISSUN4) && nbuf > 200)
+ if (nbuf > 200) /* XXX Sorry, our kvm space is too small */
nbuf = 200;
-#endif
if (nswbuf == 0) {
nswbuf = (nbuf / 2) &~ 1; /* force even */
if (nswbuf > 256)