[lkml]   [2003]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Mem: and Swap: lines in /proc/meminfo
On Thu, Dec 11, 2003 at 05:42:46PM -0500, Rik van Riel wrote:
> 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.

ISTR, asking for this a while ago ;)

Yes, please do add that Inactive: line to rmap. :)

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

But I should count it as "Inactive" right?

So, if it's clean, then the page has already been zeroed out, and is ready
to be used but just needs some flags updated? Or they contain possibly
useful data, and just are not dirty? So a page that is inactive, but not
dirty will go directly in that list?

What can happen to Inact_clean pages besides being freed, and used on the
free memory list?

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

Great. :)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:59    [W:0.071 / U:4.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site