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

It's not 2.2 candidate.
This commit is contained in:
kato 1996-12-11 16:51:15 +00:00
parent 8b50c9b074
commit 140c1d6d19
2 changed files with 6 additions and 6 deletions

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
* $Id: machdep.c,v 1.16 1996/12/04 04:36:57 asami Exp $
* $Id: machdep.c,v 1.17 1996/12/06 19:51:49 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, 1536);
nbuf += min((physmem - 1024) / 4, 2048);
}
nswbuf = max(min(nbuf/4, 128), 16);
@ -343,7 +343,7 @@ cpu_startup(dummy)
exec_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr,
(16*ARG_MAX), TRUE);
exech_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr,
(32*ARG_MAX), TRUE);
(32*PAGE_SIZE), TRUE);
u_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr,
(maxproc*UPAGES*PAGE_SIZE), FALSE);

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
* $Id: machdep.c,v 1.16 1996/12/04 04:36:57 asami Exp $
* $Id: machdep.c,v 1.17 1996/12/06 19:51:49 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, 1536);
nbuf += min((physmem - 1024) / 4, 2048);
}
nswbuf = max(min(nbuf/4, 128), 16);
@ -343,7 +343,7 @@ cpu_startup(dummy)
exec_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr,
(16*ARG_MAX), TRUE);
exech_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr,
(32*ARG_MAX), TRUE);
(32*PAGE_SIZE), TRUE);
u_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr,
(maxproc*UPAGES*PAGE_SIZE), FALSE);