summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-08-11 19:17:18 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-08-11 19:17:18 +0000
commit45443497d1b1837b0f507d85565636f50fa5cecf (patch)
treee668bde68e4fb4b463aba3fd31dd16875bb9ddb7 /sys/arch/mvme68k
parent71991877bea22a82789b29c8995baf0589fd2be4 (diff)
Do not bother initializing bufpages in the md code if the computation is
exactly the same the mi could will use if bufinit() is invoked with bufpages == 0.
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r--sys/arch/mvme68k/mvme68k/machdep.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/arch/mvme68k/mvme68k/machdep.c b/sys/arch/mvme68k/mvme68k/machdep.c
index 1c3282c1afd..c61381d1a69 100644
--- a/sys/arch/mvme68k/mvme68k/machdep.c
+++ b/sys/arch/mvme68k/mvme68k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.119 2009/08/11 18:46:32 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.120 2009/08/11 19:17:16 miod Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -243,13 +243,6 @@ cpu_startup()
ptoa(physmem) / 1024 / 1024);
/*
- * Determine how many buffers to allocate.
- * We allocate bufcachepercent% of memory for buffer space.
- */
- if (bufpages == 0)
- bufpages = physmem * bufcachepercent / 100;
-
- /*
* Allocate a submap for exec arguments. This map effectively
* limits the number of processes exec'ing at any time.
*/