diff options
author | Zi Yan <[email protected]> | 2020-09-25 21:19:14 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-09-26 10:33:57 -0700 |
commit | 6c5c7b9f3352728af490183f71d350bb658ffb75 (patch) | |
tree | 5442c016dc981a8c277fda37495f532c60a88c48 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d3f7b1bb204099f2f7306318896223e8599bb6a2 (diff) |
mm/migrate: correct thp migration stats
PageTransHuge returns true for both thp and hugetlb, so thp stats was
counting both thp and hugetlb migrations. Exclude hugetlb migration by
setting is_thp variable right.
Clean up thp handling code too when we are there.
Fixes: 1a5bae25e3cf ("mm/vmstat: add events for THP migration without split")
Signed-off-by: Zi Yan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Daniel Jordan <[email protected]>
Cc: Anshuman Khandual <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions