public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Mem: and Swap: lines in /proc/meminfo
@ 2003-12-11 22:42 Rik van Riel
  2003-12-11 23:05 ` Mike Fedyk
  0 siblings, 1 reply; 5+ messages in thread
From: Rik van Riel @ 2003-12-11 22:42 UTC (permalink / raw)
  To: Mike Fedyk; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-12-18 19:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <11HNp-oH-19@gated-at.bofh.it>
     [not found] ` <11I6J-UO-15@gated-at.bofh.it>
     [not found]   ` <13yZr-2nX-23@gated-at.bofh.it>
2003-12-18 15:40     ` [PATCH 2.4 Rmap] Add Inactive to /proc/meminfo was: Mem: and Swap: lines in /proc/meminfo Ronny V. Vindenes
2003-12-18 19:21       ` Mike Fedyk
2003-12-18 19:53         ` Rik van Riel
2003-12-11 22:42 Rik van Riel
2003-12-11 23:05 ` Mike Fedyk
2003-12-17  1:12   ` [PATCH 2.4 Rmap] Add Inactive to /proc/meminfo was: " Mike Fedyk
2003-12-17  3:59     ` Rik van Riel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox