Commit e3c2ab03 authored by Liu Shixin's avatar Liu Shixin Committed by Zheng Zengkai
Browse files

mm: add PG_pool in /proc/kpageflags

hulk inclusion
category: feature
bugzilla: 46904, https://gitee.com/openeuler/kernel/issues/I4RO84


CVE: NA

--------------------------------

Export PG_pool page flag in /proc/kpageflags.

	27. KPF_POOL		page is allocated from hpool.

By using this tool, we can easily count the number of pages allocated from
dynamic hugetlb pool by a process or a file.

Signed-off-by: default avatarLiu Shixin <liushixin2@huawei.com>
Reviewed-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent a6610eed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment