Re: Mem: and Swap: lines in /proc/meminfo

From: Mike Fedyk
Date: Fri Dec 12 2003 - 13:13:38 EST


On Fri, Dec 12, 2003 at 07:00:30AM -0500, Rik van Riel wrote:
> On Thu, 11 Dec 2003, Mike Fedyk wrote:
>
> > > Note that the inactive clean pages count (more or less)
> > > as free pages, too.
> >
> > But I should count it as "Inactive" right?
>
> Yeah.

OK.

> > What can happen to Inact_clean pages besides being freed, and used on
> > the free memory list?
>
> The data that's still in the page could be referenced again, in which
> case the page gets moved to the inactive dirty list and from there on
> to the active list.
>
> In effect, the inactive clean list is a "soft free" list, which means
> we can keep a larger number of pages almost-free, without wasting
> memory.
>

So it doesn't have to be dirty to go in the dirty list, only referenced?
What about Inact_laundry?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/