diff options
| author | Vlastimil Babka <[email protected]> | 2023-03-09 12:12:51 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-04-05 19:42:48 -0700 |
| commit | 5ff783f15176e85323e9d9349fefcd4de6e435bb (patch) | |
| tree | 01e21b2947fa0312fa910fb4127bf6e7066e2534 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 097d70c6272f236eb4a29b3fb74b72df3a5344cf (diff) | |
mm/mmap/vma_merge: use the proper vma pointers in cases 1 and 6
Case 1 is now shown in the comment as next vma being merged with prev, so
use 'next' instead of 'mid'. In case 1 they both point to the same vma.
As a consequence, in case 6, the dup_anon_vma() is now tried first on
'next' and then on 'mid', before it was the opposite order. This is not a
functional change, as those two vma's cannnot have a different anon_vma,
as that would have prevented the merging in the first place.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Vlastimil Babka <[email protected]>
Reviewed-by: Lorenzo Stoakes <[email protected]>
Reviewed-by: Liam R. Howlett <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions