diff options
author | Yang Shi <[email protected]> | 2018-08-17 15:45:29 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-08-17 16:20:28 -0700 |
commit | 87aa752906ecf69842ef5ac1d0677aa75a4e0aac (patch) | |
tree | b51124e7e0b07ca04007725bf594a1ae11176f0c /tools/perf/scripts/python/mem-phys-addr.py | |
parent | c2231020ea7b53d486395dbd8d3216e0dd1fc7ee (diff) |
mm: thp: inc counter for collapsed shmem THP
/sys/kernel/mm/transparent_hugepage/khugepaged/pages_collapsed is used
to record the counter of collapsed THP, but it just gets inc'ed in
anonymous THP collapse path, do this for shmem THP collapse too.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Yang Shi <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions