summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_exit.c')
-rw-r--r--sys/kern/kern_exit.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index 4a9517b..f046154 100644
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -184,11 +184,6 @@ exit1(struct thread *td, int rv)
mtx_unlock(&ppeers_lock);
}
-#ifdef PGINPROF
- mtx_lock(&Giant);
- vmsizmon();
- mtx_unlock(&Giant);
-#endif
PROC_LOCK(p);
_STOPEVENT(p, S_EXIT, rv);
wakeup(&p->p_stype); /* Wakeup anyone in procfs' PIOCWAIT */
OpenPOWER on IntegriCloud