From 2b85b6db3b8673dd6cd28274f2225f147ce3ab52 Mon Sep 17 00:00:00 2001 From: jhb Date: Fri, 3 Feb 2006 21:09:40 +0000 Subject: Add a comment. --- sys/kern/kern_exit.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/kern/kern_exit.c') 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 */ -- cgit v1.1