On Sun, 9 Dec 2007, Robert Watson wrote:

rwatson     2007-12-09 17:22:27 UTC

 FreeBSD src repository

 Modified files:
   sys/kern             kern_proc.c
 Log:
 Check for P_WEXIT before PHOLD() on a process in kstack and vm query
 sysctls, as PHOLD() asserts !P_WEXIT.

 Reported by:    Michael Plass <mfp49_freebsd at plass-family dot net>

One might, quite legitimately, want to dump the kernel stack of threads in an exiting process, but this avoids the assertion while I generally ponder the life cycle interactions of processes with procstat.

Robert N M Watson
Computer Laboratory
University of Cambridge
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to