summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c
index 88a6f6fa1fdc..7561e6057e61 100644
--- a/sys/kern/kern_proc.c
+++ b/sys/kern/kern_proc.c
@@ -492,7 +492,7 @@ pgdelete(pgrp)
SESS_UNLOCK(savesess);
PGRP_UNLOCK(pgrp);
mtx_destroy(&pgrp->pg_mtx);
- sx_xunlock(&proctree_lock);
+ sx_xunlock(&proctree_lock); /* XXX Until free(9) becomes Giant-free */
mtx_lock(&Giant);
sx_xlock(&proctree_lock);
if (savesess->s_count == 0) {