hi, > Module Name: src > Committed By: martin > Date: Wed Feb 15 11:59:30 UTC 2012 > > Modified Files: > src/sys/kern: kern_exit.c > > Log Message: > Fix fallout from the new tests exercising all error paths: do not deactivate > the pmap of a vmspace-less child of a posix spawn operation that never > made it to userland.
please take a look at uvm_proc_exit(). it borrows proc0.p_vmspace for exiting process. while which of these methods is cleaner is probably a matter of taste, these two cases should use the same method. YAMAMOTO Takashi > > > To generate a diff of this commit: > cvs rdiff -u -r1.235 -r1.236 src/sys/kern/kern_exit.c > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files.