summaryrefslogtreecommitdiffstats
path: root/Documentation/vm/page-types.c
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2009-10-07 16:32:28 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-10-08 07:36:39 -0700
commita1bbb5ec39042fb762e7f4bcc634da0d87834193 (patch)
tree20bb538ee4b3a9fbf5e8e9d1988fed2011deffce /Documentation/vm/page-types.c
parent253fb02d62571e5455eedc9e39b9d660e86a40f0 (diff)
downloadop-kernel-dev-a1bbb5ec39042fb762e7f4bcc634da0d87834193.zip
op-kernel-dev-a1bbb5ec39042fb762e7f4bcc634da0d87834193.tar.gz
pagemap: document KPF_KSM and show it in page-types
It indicates to the system admin that processes mapping such pages may be eating less physical memory than the reported numbers by legacy tools. Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk> Cc: Izik Eidus <ieidus@redhat.com> Acked-by: Chris Wright <chrisw@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/vm/page-types.c')
-rw-r--r--Documentation/vm/page-types.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/vm/page-types.c b/Documentation/vm/page-types.c
index 87f5722..9899fa2 100644
--- a/Documentation/vm/page-types.c
+++ b/Documentation/vm/page-types.c
@@ -71,6 +71,7 @@
#define KPF_UNEVICTABLE 18
#define KPF_HWPOISON 19
#define KPF_NOPAGE 20
+#define KPF_KSM 21
/* [32-] kernel hacking assistances */
#define KPF_RESERVED 32
@@ -119,6 +120,7 @@ static char *page_flag_names[] = {
[KPF_UNEVICTABLE] = "u:unevictable",
[KPF_HWPOISON] = "X:hwpoison",
[KPF_NOPAGE] = "n:nopage",
+ [KPF_KSM] = "x:ksm",
[KPF_RESERVED] = "r:reserved",
[KPF_MLOCKED] = "m:mlocked",
OpenPOWER on IntegriCloud