diff options
| author | Vlastimil Babka <vbabka@suse.cz> | 2023-03-09 12:12:51 +0100 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-04-05 19:42:48 -0700 |
| commit | 5ff783f15176e85323e9d9349fefcd4de6e435bb (patch) | |
| tree | 01e21b2947fa0312fa910fb4127bf6e7066e2534 /tools/perf/scripts/python/bin | |
| parent | 097d70c6272f236eb4a29b3fb74b72df3a5344cf (diff) | |
| download | linux-5ff783f15176e85323e9d9349fefcd4de6e435bb.tar.gz linux-5ff783f15176e85323e9d9349fefcd4de6e435bb.zip | |
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/20230309111258.24079-4-vbabka@suse.cz
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Lorenzo Stoakes <lstoakes@gmail.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
