aboutsummaryrefslogtreecommitdiff
path: root/Documentation/filesystems/dnotify_test.c
diff options
context:
space:
mode:
authorNaoya Horiguchi <[email protected]>2015-11-05 18:47:11 -0800
committerLinus Torvalds <[email protected]>2015-11-05 19:34:48 -0800
commit25ee01a2fca02dfb5a3ce316e77910c468108199 (patch)
tree0d795fbc7fa1d0ed20c43ca5e6b88bd3856ca6ce /Documentation/filesystems/dnotify_test.c
parent600e19afc5f8a6c18ea49cee9511c5797db02391 (diff)
mm: hugetlb: proc: add hugetlb-related fields to /proc/PID/smaps
Currently /proc/PID/smaps provides no usage info for vma(VM_HUGETLB), which is inconvenient when we want to know per-task or per-vma base hugetlb usage. To solve this, this patch adds new fields for hugetlb usage like below: Size: 20480 kB Rss: 0 kB Pss: 0 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 0 kB Referenced: 0 kB Anonymous: 0 kB AnonHugePages: 0 kB Shared_Hugetlb: 18432 kB Private_Hugetlb: 2048 kB Swap: 0 kB KernelPageSize: 2048 kB MMUPageSize: 2048 kB Locked: 0 kB VmFlags: rd wr mr mw me de ht [[email protected]: fix Private_Hugetlb alignment ] Signed-off-by: Naoya Horiguchi <[email protected]> Acked-by: Joern Engel <[email protected]> Acked-by: David Rientjes <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Mike Kravetz <[email protected]> Signed-off-by: Hugh Dickins <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'Documentation/filesystems/dnotify_test.c')
0 files changed, 0 insertions, 0 deletions