From 01ce9d323a15a1365c3b7802f404edd77da1e38b Mon Sep 17 00:00:00 2001 From: dyson Date: Tue, 30 Jul 1996 03:08:57 +0000 Subject: Backed out the recent changes/enhancements to the VM code. The problem with the 'shell scripts' was found, but there was a 'strange' problem found with a 486 laptop that we could not find. This commit backs the code back to 25-jul, and will be re-entered after the snapshot in smaller (more easily tested) chunks. --- sys/kern/kern_exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/kern_exec.c') diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index 7d3a0eb..0fabc69 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kern_exec.c,v 1.44 1996/07/12 04:11:37 bde Exp $ + * $Id: kern_exec.c,v 1.45 1996/07/27 03:23:41 dyson Exp $ */ #include @@ -367,7 +367,7 @@ exec_new_vmspace(imgp) /* Blow away entire process VM */ if (vmspace->vm_shm) shmexit(imgp->proc); - vm_map_remove_userspace(&vmspace->vm_map); + vm_map_remove(&vmspace->vm_map, 0, USRSTACK); /* Allocate a new stack */ error = vm_map_find(&vmspace->vm_map, NULL, 0, (vm_offset_t *)&stack_addr, -- cgit v1.1