summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2011-06-05 14:09:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2011-06-05 14:09:11 +0000
commita70fe4c754e24b6ebf1673648fb1e7f197e879ff (patch)
tree68e043cd8103835375e6a55120234da03533f7f3 /sys
parente71cc3e83f19c135c9a5d6c4f56a4581d11e38c7 (diff)
do not calculate bufpages; that is done later in MI bufinit(). in any
case, this MD calculation was overcommiting our use of pages... ok thib
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/i386/machdep.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c
index 3d599c6bbde..41c83882440 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.497 2011/05/30 22:25:21 oga Exp $ */
+/* $OpenBSD: machdep.c,v 1.498 2011/06/05 14:09:10 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -417,12 +417,6 @@ cpu_startup()
(unsigned long long)ptoa((psize_t)physmem)/1024U/1024U);
/*
- * Determine how many buffers to allocate. We use bufcachepercent%
- * of the memory below 4GB.
- */
- if (bufpages == 0)
- bufpages = atop(avail_end) * bufcachepercent / 100;
-
/*
* Allocate a submap for exec arguments. This map effectively
* limits the number of processes exec'ing at any time.