Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Dec 2007 17:29:54 +0000 (GMT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_proc.c
Message-ID:  <20071209172900.G71725@fledge.watson.org>
In-Reply-To: <200712091722.lB9HMSbP057909@repoman.freebsd.org>
References:  <200712091722.lB9HMSbP057909@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071209172900.G71725>