diff options
-rw-r--r-- | sys/kern/kern_exit.c | 2 | ||||
-rw-r--r-- | sys/vm/vm_glue.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index 78f3feb..f53aa47 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -690,9 +690,7 @@ loop: * to free anything that cpu_exit couldn't * release while still running in process context. */ - mtx_lock(&Giant); vm_waitproc(p); - mtx_unlock(&Giant); #ifdef MAC mac_destroy_proc(p); #endif diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c index 4e083b8..7893012 100644 --- a/sys/vm/vm_glue.c +++ b/sys/vm/vm_glue.c @@ -681,7 +681,6 @@ vm_waitproc(p) struct proc *p; { - GIANT_REQUIRED; vmspace_exitfree(p); /* and clean-out the vmspace */ } |