Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jun 2001 11:09:55 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Matt Dillon <dillon@earth.backplane.com>
Cc:        Alfred Perlstein <bright@rush.net>, hackers@FreeBSD.org
Subject:   RE: Patch to fix code that kills procs when swap runs out (stabl
Message-ID:  <XFMail.010604110955.jhb@FreeBSD.org>
In-Reply-To: <200106030445.f534jTA07246@earth.backplane.com>

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

On 03-Jun-01 Matt Dillon wrote:
>     Alfred, I'm cc'ing you.  If you have some time, could you check the
>     vmspace_swap_count() routine?  What do I need to mutex it for -current?
>     For -stable I don't think there's an issue since VM objects are not
>     instantiated/destroyed by interrupts.
> 
>     All suggestions are welcome.

Barring whatever Alfred says, it looks like you don't need any additional
locking as we already hold the vm mutex by the time we get to that point
in swapout_procs().

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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