aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorDavid Hildenbrand <[email protected]>2024-04-17 11:23:13 +0200
committerAndrew Morton <[email protected]>2024-05-05 17:53:41 -0700
commit6401a2e6900843a77a27873c0529dea68f61193d (patch)
tree252d938f3180ce36ad3a5877bbc57a7d688f0b0a /tools/perf/scripts/python/task-analyzer.py
parent88e4e47c12836cf6875f73fca87baaf20c6ca1a2 (diff)
fs/proc/task_mmu: convert smaps_hugetlb_range() to work on folios
Let's get rid of another page_mapcount() check and simply use folio_likely_mapped_shared(), which is precise for hugetlb folios. While at it, use huge_ptep_get() + pte_page() instead of ptep_get() + vm_normal_page(), just like we do in pagemap_hugetlb_range(). No functional change intended. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: David Hildenbrand <[email protected]> Reviewed-by: Oscar Salvador <[email protected]> Cc: Muchun Song <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions