aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLiam R. Howlett <[email protected]>2023-07-24 14:31:46 -0400
committerAndrew Morton <[email protected]>2023-08-18 10:12:47 -0700
commit445a2ea0ef0e0e69812218b2c896a23443466625 (patch)
tree252bef908280c6c32869f86b9bd427cbe5f53912 /tools/perf/scripts/python
parentfd892593d44d8b649caf30a67f0c7696d976d901 (diff)
mm: remove prev check from do_vmi_align_munmap()
If the prev does not exist, the vma iterator will be set to MAS_NONE, which will be treated as a MAS_START when the mas_next or mas_find is used. In this case, the next caller will be the vma iterator, which uses mas_find() under the hood and will now do what the user expects. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Liam R. Howlett <[email protected]> Cc: Peng Zhang <[email protected]> Cc: Suren Baghdasaryan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions