lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1320398121-17336-1-git-send-email-gaowanlong@cn.fujitsu.com>
Date:	Fri, 4 Nov 2011 17:15:21 +0800
From:	Wanlong Gao <gaowanlong@...fujitsu.com>
To:	linux-kernel@...r.kernel.org, cgroups@...r.kernel.org
Cc:	akpm@...ux-foundation.org, kamezawa.hiroyu@...fujitsu.com,
	yinghan@...gle.com, Wanlong Gao <gaowanlong@...fujitsu.com>
Subject: [PATCH] memcg: doc the pagefault count

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

Signed-off-by: Wanlong Gao <gaowanlong@...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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ