Date: Wed, 7 Mar 2012 10:23:38 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: Luke Marsden <luke@hybrid-logic.co.uk> Cc: freebsd-fs@freebsd.org, Chuck Swiger <cswiger@mac.com>, freebsd-stable@freebsd.org, freebsd-questions@freebsd.org, team@hybrid-logic.co.uk Subject: Re: FreeBSD 8.2 - active plus inactive memory leak!? Message-ID: <20120307082338.GD75778@deviant.kiev.zoral.com.ua> In-Reply-To: <1331080581.2589.28.camel@pow> References: <1331061203.2218.38.camel@pow> <4F569DFF.8040807@mac.com> <1331080581.2589.28.camel@pow>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Wed, Mar 07, 2012 at 12:36:21AM +0000, Luke Marsden wrote: > Thanks for your email, Chuck. > > > > Conversely, if a page *does not* occur in the resident > > > memory of any process, it must not occupy any space in the active + > > > inactive lists. > > > > Hmm...if a process gets swapped out entirely, the pages for it will be moved > > to the cache list, flushed, and then reused as soon as the disk I/O completes. > > But there is a window where the process can be marked as swapped out (and > > considered no longer resident), but still has some of it's pages in physical > > memory. > > There's no swapping happening on these machines (intentionally so, > because as soon as we hit swap everything goes tits up), so this window > doesn't concern me. > > I'm trying to confirm that, on a system with no pages swapped out, that > the following is a true statement: > > a page is accounted for in active + inactive if and only if it > corresponds to one or more of the pages accounted for in the > resident memory lists of all the processes on the system (as per > the output of 'top' and 'ps') No. The pages belonging to vnode vm object can be active or inactive or cached but not mapped into any process address space. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk9XGwkACgkQC3+MBN1Mb4gEEgCfeS6aA0sX9T+NgXGhplLSE3DA 7xEAnRS1EdCLMcsOI8u3ADhCURXYNhyh =kFBk -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120307082338.GD75778>
