[PATCH v1] tools/vm/page-types.c: support KPF_IDLE

From: Naoya Horiguchi
Date: Tue Nov 10 2015 - 03:50:18 EST


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@xxxxxxxxxxxxx>
---
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

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