svn commit: r340748 - head/sys/kern
Mateusz Guzik
mjg at FreeBSD.org
Wed Nov 21 22:16:11 UTC 2018
Author: mjg
Date: Wed Nov 21 22:16:10 2018
New Revision: 340748
URL: https://svnweb.freebsd.org/changeset/base/340748
Log:
proc: update list manipulation comment on process exit
Processes stay in the hash until they get reaped.
This code does not unlink the child from the parent, so remove
the claim that it does.
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/kern/kern_exit.c
Modified: head/sys/kern/kern_exit.c
==============================================================================
--- head/sys/kern/kern_exit.c Wed Nov 21 22:01:06 2018 (r340747)
+++ head/sys/kern/kern_exit.c Wed Nov 21 22:16:10 2018 (r340748)
@@ -429,8 +429,7 @@ exit1(struct thread *td, int rval, int signo)
sx_xlock(&proctree_lock);
/*
- * Remove proc from allproc queue and pidhash chain.
- * Place onto zombproc. Unlink from parent's child list.
+ * Move proc from allproc queue to zombproc.
*/
sx_xlock(&allproc_lock);
LIST_REMOVE(p, p_list);
More information about the svn-src-all
mailing list