Sync with sys/i386/i386/machdep.c revision 1.283.

This commit is contained in:
KATO Takenori 1998-01-24 06:53:32 +00:00
parent 86fb910326
commit 19eba5818f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32729
2 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
* $Id: machdep.c,v 1.69 1998/01/12 15:38:51 kato Exp $
* $Id: machdep.c,v 1.70 1998/01/24 03:15:37 kato Exp $
*/
#include "apm.h"
@ -315,7 +315,7 @@ cpu_startup(dummy)
if( physmem > 1024)
nbuf += min((physmem - 1024) / 8, 2048);
}
nswbuf = max(min(nbuf/4, 128), 16);
nswbuf = max(min(nbuf/4, 64), 16);
valloc(swbuf, struct buf, nswbuf);
valloc(buf, struct buf, nbuf);

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
* $Id: machdep.c,v 1.69 1998/01/12 15:38:51 kato Exp $
* $Id: machdep.c,v 1.70 1998/01/24 03:15:37 kato Exp $
*/
#include "apm.h"
@ -315,7 +315,7 @@ cpu_startup(dummy)
if( physmem > 1024)
nbuf += min((physmem - 1024) / 8, 2048);
}
nswbuf = max(min(nbuf/4, 128), 16);
nswbuf = max(min(nbuf/4, 64), 16);
valloc(swbuf, struct buf, nswbuf);
valloc(buf, struct buf, nbuf);