All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] memcg: doc the pagefault count
@ 2011-11-04  9:15 Wanlong Gao
  2011-11-04  9:54 ` KAMEZAWA Hiroyuki
  2011-11-09 22:44 ` Andrew Morton
  0 siblings, 2 replies; 5+ messages in thread
From: Wanlong Gao @ 2011-11-04  9:15 UTC (permalink / raw)
  To: linux-kernel, cgroups; +Cc: akpm, kamezawa.hiroyu, yinghan, Wanlong Gao

Pagefault count has added to memcg stats since commit 456f998e,
but forgot to doc it.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
---
 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.
+
 inactive_anon	- # of bytes of anonymous memory and swap cache memory on
 		LRU list.
 active_anon	- # of bytes of anonymous and swap cache memory on active
-- 
1.7.8.rc0


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

end of thread, other threads:[~2011-11-10  0:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-04  9:15 [PATCH] memcg: doc the pagefault count Wanlong Gao
2011-11-04  9:54 ` KAMEZAWA Hiroyuki
2011-11-09 22:44 ` Andrew Morton
2011-11-10  0:05   ` Ying Han
2011-11-10  0:22     ` Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.