aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/task-analyzer-report
diff options
context:
space:
mode:
authorYajun Deng <[email protected]>2024-03-25 14:32:58 +0800
committerAndrew Morton <[email protected]>2024-04-25 20:56:11 -0700
commitd4e6b397be1b403991a028ea59dbe61dedc9bcc0 (patch)
treed6c4e778630fad4785256e3845228d0b4ea023c4 /tools/perf/scripts/python/bin/task-analyzer-report
parent0b52663f7547520fbf54e2c07f61f8bd1b5cb6eb (diff)
mm/mmap: convert all mas except mas_detach to vma iterator
There are two types of iterators mas and vmi in the current code. If the maple tree comes from the mm structure, we can use the vma iterator. Avoid using mas directly as possible. Keep using mas for the mt_detach tree, since it doesn't come from the mm structure. Remove as many uses of mas as possible, but we will still have a few that must be passed through in unmap_vmas() and free_pgtables(). Also introduce vma_iter_reset, vma_iter_{prev, next}_range_limit and vma_iter_area_{lowest, highest} helper functions for using the vma interator. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Yajun Deng <[email protected]> Tested-by: Helge Deller <[email protected]> [parisc] Reviewed-by: Liam R. Howlett <[email protected]> Cc: Lorenzo Stoakes <[email protected]> Cc: Vlastimil Babka <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-report')
0 files changed, 0 insertions, 0 deletions