On Fri, 4 Nov 2011 17:15:21 +0800 Wanlong Gao <gaowanlong@xxxxxxxxxxxxxx> wrote: > Pagefault count has added to memcg stats since commit 456f998e, > but forgot to doc it. > > Signed-off-by: Wanlong Gao <gaowanlong@xxxxxxxxxxxxxx> Thanks, Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> > --- > Documentation/cgroups/memory.txt | 7 +++++++ > 1 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/Documentation/cgroups/memory.txt b/Documentation/cgroups/memory.txt > index cc0ebc5..081f4f44 100644 > --- a/Documentation/cgroups/memory.txt > +++ b/Documentation/cgroups/memory.txt > @@ -389,6 +389,13 @@ mapped_file - # of bytes of mapped file (includes tmpfs/shmem) > pgpgin - # of pages paged in (equivalent to # of charging events). > pgpgout - # of pages paged out (equivalent to # of uncharging events). > swap - # of bytes of swap usage > + > +pgfault - # of page-faults > +pgmajfault - # of major page-faults > + These two are different from "pgpgin"/"pgpgout" stat which > + count number of pages charged/discharged to the cgroup and > + have no meaning of reading/writing page to disk. > + -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html