cvs commit: src/sys/kern kern_proc.c

Robert Watson rwatson at FreeBSD.org
Sun Dec 9 09:29:56 PST 2007


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


More information about the cvs-src mailing list