diff options
author | peter <peter@FreeBSD.org> | 1997-04-07 09:38:39 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-04-07 09:38:39 +0000 |
commit | 6c0a1b1ef6e98f2e4c2f105ac35d8da27dc40e9e (patch) | |
tree | 1e203b41c337815c22b6978dd96df067a6ce5944 /sys/kern/kern_fork.c | |
parent | 26af82503146f1d43f7fa4c2b5dcf74e86599d2b (diff) | |
download | FreeBSD-src-6c0a1b1ef6e98f2e4c2f105ac35d8da27dc40e9e.zip FreeBSD-src-6c0a1b1ef6e98f2e4c2f105ac35d8da27dc40e9e.tar.gz |
Remove explicit zero of p_vmspace on creation, it's now in the startzero
section of the proc struct.
Diffstat (limited to 'sys/kern/kern_fork.c')
-rw-r--r-- | sys/kern/kern_fork.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index 242d573..1c78b26 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_fork.c 8.6 (Berkeley) 4/8/94 - * $Id: kern_fork.c,v 1.32 1997/02/22 09:39:05 peter Exp $ + * $Id: kern_fork.c,v 1.33 1997/04/07 07:16:01 peter Exp $ */ #include "opt_ktrace.h" @@ -232,11 +232,6 @@ again: (unsigned) ((caddr_t)&p2->p_endcopy - (caddr_t)&p2->p_startcopy)); /* - * XXX: this should be done as part of the startzero above - */ - p2->p_vmspace = 0; /* XXX */ - - /* * Duplicate sub-structures as needed. * Increase reference counts on shared objects. * The p_stats and p_sigacts substructs are set in vm_fork. |