aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLiam Howlett <[email protected]>2023-01-09 20:58:20 +0000
committerAndrew Morton <[email protected]>2023-01-11 16:14:23 -0800
commitfd9edbdbdcde6b489ce59f326755ef16a2ffadd7 (patch)
tree49d2fcc6a95e3e519b02a53bfc613f1735fa67c0 /tools/perf/scripts/python
parent80be727ec87225797771a39f3e6801baf291faaf (diff)
nommu: fix split_vma() map_count error
During the maple tree conversion of nommu, an error in counting the VMAs was introduced by counting the existing VMA again. The counting used to be decremented by one and incremented by two, but now it only increments by two. Fix the counting error by moving the increment outside the setup_vma_to_mm() function to the callers. Link: https://lkml.kernel.org/r/[email protected] Fixes: 8220543df148 ("nommu: remove uses of VMA linked list") Signed-off-by: Liam R. Howlett <[email protected]> Cc: Matthew Wilcox (Oracle) <[email protected]> Cc: Vlastimil Babka <[email protected]> Cc: Yu Zhao <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions