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

From: Rik van Riel
Date: Thu Dec 11 2003 - 17:48:46 EST


On Thu, 11 Dec 2003, Mike Fedyk wrote:

> Inact_dirty: 21516 kB
> Inact_laundry: 65612 kB
> Inact_clean: 19812 kB
>
> These three are seperate lists in rmap, and are equal to "Inactive:" in
> the -aa vm.

I should add an Inactive: list to -rmap that sums up all
3, to make it a bit easier on programs parsing /proc.

Note that the inactive clean pages count (more or less)
as free pages, too.

> Inact_target: 150080 kB
>
> This doesn't account any memory, but is only what the VM is trying to size
> the sum of the three lists above.
>
> Do I have that right?

Yes, you're completely right.

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

-
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/