Skip to content

Commit 429d486

Browse files
Naoya Horiguchitorvalds
Naoya Horiguchi
authored andcommitted
tools/vm/page-types.c: support KPF_IDLE
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 <[email protected]> Reviewed-by: Vladimir Davydov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 1491e30 commit 429d486

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/vm/page-types.c

+1
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ static const char * const page_flag_names[] = {
128128
[KPF_THP] = "t:thp",
129129
[KPF_BALLOON] = "o:balloon",
130130
[KPF_ZERO_PAGE] = "z:zero_page",
131+
[KPF_IDLE] = "i:idle_page",
131132

132133
[KPF_RESERVED] = "r:reserved",
133134
[KPF_MLOCKED] = "m:mlocked",

0 commit comments

Comments
 (0)