Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2006 11:33:29 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        David Xu <davidxu@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/kern kern_exit.c
Message-ID:  <200610231133.29990.jhb@freebsd.org>
In-Reply-To: <200610212359.k9LNxF2P014387@repoman.freebsd.org>
References:  <200610212359.k9LNxF2P014387@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 21 October 2006 19:59, David Xu wrote:
> davidxu     2006-10-21 23:59:15 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/kern             kern_exit.c 
>   Log:
>   Since revision 1.333 of kern_sig.c no longer uses P_WEXIT, the change
>   opened a race window which can cause memory leak in signal queue.
>   Here we free memory for signal queue when process state is set to
>   PRS_ZOMBIE.

Is there any reason to not just harvest it in wait() instead?

-- 
John Baldwin



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