From 37f84a6018b6aadcad232b52ebe3bed189ea5d12 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 3 Feb 2006 21:09:40 +0000 Subject: [PATCH] Add a comment. --- sys/kern/kern_exit.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index c9e058df295d..05bd39c083c0 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 */