diff options
author | dg <dg@FreeBSD.org> | 1996-12-12 04:20:50 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1996-12-12 04:20:50 +0000 |
commit | 954016a14ba012542c1dc38be813765b7f66664e (patch) | |
tree | 8161928fde91ee7d7e2c9624e57a8b8fdc7d4bc9 /sys | |
parent | ab5cd7da2c8508388ee1066a8950565e3761b05a (diff) | |
download | FreeBSD-src-954016a14ba012542c1dc38be813765b7f66664e.zip FreeBSD-src-954016a14ba012542c1dc38be813765b7f66664e.tar.gz |
Fix allocation for exech_map to be 16*PAGE_SIZE rather than 32*PAGE_SIZE
so that it is scaled the same as exec_map (16 concurrent exec'ers).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/machdep.c | 4 | ||||
-rw-r--r-- | sys/i386/i386/machdep.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index f21560f..ad0e5f1 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.217 1996/12/05 04:28:42 dyson Exp $ + * $Id: machdep.c,v 1.218 1996/12/11 05:52:15 dyson Exp $ */ #include "npx.h" @@ -336,7 +336,7 @@ again: exec_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr, (16*ARG_MAX), TRUE); exech_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr, - (32*PAGE_SIZE), TRUE); + (16*PAGE_SIZE), TRUE); u_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr, (maxproc*UPAGES*PAGE_SIZE), FALSE); diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index f21560f..ad0e5f1 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.217 1996/12/05 04:28:42 dyson Exp $ + * $Id: machdep.c,v 1.218 1996/12/11 05:52:15 dyson Exp $ */ #include "npx.h" @@ -336,7 +336,7 @@ again: exec_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr, (16*ARG_MAX), TRUE); exech_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr, - (32*PAGE_SIZE), TRUE); + (16*PAGE_SIZE), TRUE); u_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr, (maxproc*UPAGES*PAGE_SIZE), FALSE); |