From f605549c19932d69996d2aad145d02d7708e8b8c Mon Sep 17 00:00:00 2001 From: KATO Takenori Date: Tue, 17 Dec 1996 13:26:17 +0000 Subject: [PATCH] Sync with i386/i386/machdep.c revision 1.221 (fix nbuf calculation). --- sys/pc98/i386/machdep.c | 4 ++-- sys/pc98/pc98/machdep.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 2dc82a39afe2..07c9de664124 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.19 1996/12/12 13:10:50 kato Exp $ + * $Id: machdep.c,v 1.20 1996/12/15 09:18:48 kato Exp $ */ #include "npx.h" @@ -289,7 +289,7 @@ cpu_startup(dummy) if (nbuf == 0) { nbuf = 30; if( physmem > 1024) - nbuf += min((physmem - 1024) / 4, 2048); + nbuf += min((physmem - 1024) / 8, 2048); } nswbuf = max(min(nbuf/4, 128), 16); diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 2dc82a39afe2..07c9de664124 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.19 1996/12/12 13:10:50 kato Exp $ + * $Id: machdep.c,v 1.20 1996/12/15 09:18:48 kato Exp $ */ #include "npx.h" @@ -289,7 +289,7 @@ cpu_startup(dummy) if (nbuf == 0) { nbuf = 30; if( physmem > 1024) - nbuf += min((physmem - 1024) / 4, 2048); + nbuf += min((physmem - 1024) / 8, 2048); } nswbuf = max(min(nbuf/4, 128), 16);