diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 690fdcbb04c8..ebea886d0605 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.125 1999/07/08 12:48:53 kato Exp $ + * $Id: machdep.c,v 1.126 1999/07/09 12:51:11 kato Exp $ */ #include "apm.h" @@ -359,10 +359,10 @@ again: if (nbuf == 0) { nbuf = 30; - if( physmem > 1024) + if (physmem > 1024) nbuf += min((physmem - 1024) / 8, 2048); - if( physmem > 65536) - nbuf += (physmem - 65536) / 20; + if (physmem > 16384) + nbuf += (physmem - 16384) / 20; } nswbuf = max(min(nbuf/4, 256), 16); diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 690fdcbb04c8..ebea886d0605 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.125 1999/07/08 12:48:53 kato Exp $ + * $Id: machdep.c,v 1.126 1999/07/09 12:51:11 kato Exp $ */ #include "apm.h" @@ -359,10 +359,10 @@ again: if (nbuf == 0) { nbuf = 30; - if( physmem > 1024) + if (physmem > 1024) nbuf += min((physmem - 1024) / 8, 2048); - if( physmem > 65536) - nbuf += (physmem - 65536) / 20; + if (physmem > 16384) + nbuf += (physmem - 16384) / 20; } nswbuf = max(min(nbuf/4, 256), 16);