mirror of https://gitee.com/openkylin/linux.git
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 <n-horiguchi@ah.jp.nec.com> Reviewed-by: Vladimir Davydov <vdavydov@virtuozzo.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
1491e30ed1
commit
429d48622c
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue