Skip to content

Commit

Permalink
tools/vm/page-types.c: support KPF_IDLE
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Naoya Horiguchi authored and torvalds committed Nov 21, 2015
1 parent 1491e30 commit 429d486
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/vm/page-types.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 429d486

Please sign in to comment.