diff options
author | dg <dg@FreeBSD.org> | 1997-03-31 11:11:26 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1997-03-31 11:11:26 +0000 |
commit | 1543ecae887bd6435390612196e8618908146b13 (patch) | |
tree | b3cef10263cd558d15c464c3bd089af47ce2da23 /sys/i386 | |
parent | 8a15519b3ec7205f5ef40d8ceb1b3262f7b9ed8d (diff) | |
download | FreeBSD-src-1543ecae887bd6435390612196e8618908146b13.zip FreeBSD-src-1543ecae887bd6435390612196e8618908146b13.tar.gz |
Changed the way that the exec image header is read to be filesystem-
centric rather than VM-centric to fix a problem with errors not being
detectable when the header is read.
Killed exech_map as a result of these changes.
There appears to be no performance difference with this change.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/machdep.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index c986a1d..461be83 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.232 1997/03/25 23:43:01 mpp Exp $ + * $Id: machdep.c,v 1.233 1997/03/28 12:37:44 joerg Exp $ */ #include "npx.h" @@ -338,8 +338,6 @@ again: (nswbuf*MAXPHYS) + pager_map_size, TRUE); exec_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr, (16*ARG_MAX), TRUE); - exech_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr, - (16*PAGE_SIZE), TRUE); u_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr, (maxproc*UPAGES*PAGE_SIZE), FALSE); |