diff options
author | tanimura <tanimura@FreeBSD.org> | 2002-04-24 09:59:18 +0000 |
---|---|---|
committer | tanimura <tanimura@FreeBSD.org> | 2002-04-24 09:59:18 +0000 |
commit | 1616fbed42290d74826db9589afce9e801c98c67 (patch) | |
tree | bc849d34290d475ff43fbfc5ba051a4160e083ee /sys/kern | |
parent | 9a5eae2a450ef2391a3aee0be19b9160180956c7 (diff) | |
download | FreeBSD-src-1616fbed42290d74826db9589afce9e801c98c67.zip FreeBSD-src-1616fbed42290d74826db9589afce9e801c98c67.tar.gz |
Free(9) should be Giant-free.
Suggested by: jhb
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c index 88a6f6f..7561e60 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) { |