From 45443497d1b1837b0f507d85565636f50fa5cecf Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 11 Aug 2009 19:17:18 +0000 Subject: 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. --- sys/arch/mvme68k/mvme68k/machdep.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'sys/arch/mvme68k') 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 @@ -242,13 +242,6 @@ cpu_startup() printf("real mem = %u (%uMB)\n", ptoa(physmem), 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. -- cgit v1.2.3