cvs commit: src/sys/kern kern_exit.c

John Baldwin jhb at freebsd.org
Mon Oct 23 15:48:46 UTC 2006


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


More information about the cvs-src mailing list