:The problem appears to be that swapout_procs() is swapping out a process 
:that is in the process of exiting (in exit1()) and having already 
:relinquished its vmspace, but has not set PRS_ZOMBIE yet (which would be 
:preventing the swapout).  It's clearly not correct for a process in exit1() 
:to be swapped out, and the vmspace _needs_ to be decremented in the correct 
:place or resources are NEVER freed when the race is lost.
:
:-- 
:Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
:  <> [EMAIL PROTECTED]  <> [EMAIL PROTECTED]      \  The Power to Serve! \

    P_WEXIT is set before the vmspace is released.  It may be sufficient
    to have swapout_procs() ignore processes with P_WEXIT set.

                                                -Matt

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to