* [PATCH v1] tools/vm/page-types.c: support KPF_IDLE
@ 2015-11-10 8:50 Naoya Horiguchi
2015-11-10 9:02 ` Vladimir Davydov
0 siblings, 1 reply; 2+ messages in thread
From: Naoya Horiguchi @ 2015-11-10 8:50 UTC (permalink / raw)
To: Andrew Morton
Cc: Vladimir Davydov, linux-mm, linux-kernel, Naoya Horiguchi,
Naoya Horiguchi
PageIdle is exported in include/uapi/linux/kernel-page-flags.h, so let's
make page-types.c tool handle it.
Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
---
tools/vm/page-types.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git mmotm-2015-10-21-14-41/tools/vm/page-types.c mmotm-2015-10-21-14-41_patched/tools/vm/page-types.c
index 7f73fa3..d70de63 100644
--- mmotm-2015-10-21-14-41/tools/vm/page-types.c
+++ mmotm-2015-10-21-14-41_patched/tools/vm/page-types.c
@@ -128,6 +128,7 @@ static const char * const page_flag_names[] = {
[KPF_THP] = "t:thp",
[KPF_BALLOON] = "o:balloon",
[KPF_ZERO_PAGE] = "z:zero_page",
+ [KPF_IDLE] = "i:idle_page",
[KPF_RESERVED] = "r:reserved",
[KPF_MLOCKED] = "m:mlocked",
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-10 9:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-10 8:50 [PATCH v1] tools/vm/page-types.c: support KPF_IDLE Naoya Horiguchi
2015-11-10 9:02 ` Vladimir Davydov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox