Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2002 17:01:14 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        "Brian F. Feldman" <green@FreeBSD.ORG>
Cc:        John Baldwin <jhb@FreeBSD.ORG>, Kris Kennaway <kris@obsecurity.org>, current@FreeBSD.ORG, alpha@FreeBSD.ORG
Subject:   Re: UMA panic under load 
Message-ID:  <200212150101.gBF11ESx060117@apollo.backplane.com>
References:   <200212150037.gBF0bVSM014040@green.bikeshed.org>

next in thread | previous in thread | raw e-mail | index | archive | help

: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 ]''''''''''\
:  <> green@FreeBSD.org  <> bfeldman@tislabs.com      \  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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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