Re: [PATCH] memcg: Fix documentation

From: KAMEZAWA Hiroyuki
Date: Wed Apr 08 2009 - 04:39:39 EST


On Wed, 8 Apr 2009 14:03:27 +0530
Bharata B Rao <bharata@xxxxxxxxxxxxxxxxxx> wrote:

> > > -a. Enable control of both RSS (mapped) and Page Cache (unmapped) pages
> > > +a. Enable control of RSS (mapped), Page Cache (unmapped) and Swap cache
> > > + (unmapped) pages.
> > Enable control of Anonymous memory, Page Cache and Swap Cache.
> > ?
>
> I feel without the terms 'mapped' and 'unmaapped', the story of the memory
> controller is not complete :)
>
Hmm ?.
Anonymoys memory, File Cache(both of mapped/unmapped), SwapCache.
(At doing user support, explaining SwapCache is difficult sometimes ;)

I don't have serious concern, anyway.


> >
> > > +pgpgin - # of pages paged in (equivalent to # of charging events).
> > > +pgpgout - # of pages paged out (equivalent to # of uncharging events).
> > > +active_anon - # of bytes of anonymous memory on active lru list.
> > anonymous memory + shared memory(tmpfs) + SwapCache.
>
> Ok.
>
> > Seeing acitive/inactive_file, how about swap-backed memory ?
>
> Not sure what you are hinting at here.
>
Ah, sorry. I just thought swap-backed v.s. file-backed pages explains all.

Thanks,
-Kame

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