diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-08-11 19:17:18 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-08-11 19:17:18 +0000 |
commit | 45443497d1b1837b0f507d85565636f50fa5cecf (patch) | |
tree | e668bde68e4fb4b463aba3fd31dd16875bb9ddb7 /sys/arch/mvmeppc | |
parent | 71991877bea22a82789b29c8995baf0589fd2be4 (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/mvmeppc')
-rw-r--r-- | sys/arch/mvmeppc/mvmeppc/machdep.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/arch/mvmeppc/mvmeppc/machdep.c b/sys/arch/mvmeppc/mvmeppc/machdep.c index c5685002d6a..a998b943d4a 100644 --- a/sys/arch/mvmeppc/mvmeppc/machdep.c +++ b/sys/arch/mvmeppc/mvmeppc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.61 2009/08/11 18:46:32 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.62 2009/08/11 19:17:17 miod Exp $ */ /* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */ /* @@ -392,13 +392,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. */ |