diff options
author | jhb <jhb@FreeBSD.org> | 2006-02-03 21:09:40 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-02-03 21:09:40 +0000 |
commit | 2b85b6db3b8673dd6cd28274f2225f147ce3ab52 (patch) | |
tree | 5bd5305d6b870a580362d52a45d8770e33469717 | |
parent | 922fe28054a142e59a827c2f1b3cc6e40005711a (diff) | |
download | FreeBSD-src-2b85b6db3b8673dd6cd28274f2225f147ce3ab52.zip FreeBSD-src-2b85b6db3b8673dd6cd28274f2225f147ce3ab52.tar.gz |
Add a comment.
-rw-r--r-- | sys/kern/kern_exit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index c9e058d..05bd39c 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -417,6 +417,9 @@ retry: LIST_REMOVE(p, p_hash); sx_xunlock(&allproc_lock); + /* + * Reparent all of our children to init. + */ sx_xlock(&proctree_lock); q = LIST_FIRST(&p->p_children); if (q != NULL) /* only need this if any child is S_ZOMB */ |