v6.1 mm backport - Maple Tree VMA Iterator
JIRA: https://issues.redhat.com/browse/RHEL-27736
Please note that follow up fixes will be provided in a separate MR.
Omitted fix:
3dd443254941 ("mm: enable maple tree RCU mode by default")
Omitted-fix:
dd34d9fe3b42 ("mm: fix unaccount of memory on vma_link() failure")
Omitted-fix:
824135c46b00 ("mmap: fix error paths with dup_anon_vma()")
Omitted-fix:
82b249361f2d ("mm/mmap: fix comment of unmapped_area{_topdown}")
Omitted-fix:
58c5d0d6d522 ("mm/mmap: regression fix for unmapped_area{_topdown}")
Omitted-fix:
675eaca1f441 ("mm/mmap: properly unaccount memory on mas_preallocate() failure")
Omitted-fix:
e0f81ab1e4f4 ("mm: fix vm_brk_flags() to not bail out while holding lock")
Omitted-fix:
65ac132027a8 ("userfaultfd: fix regression in userfaultfd_unmap_prep()")
Omitted-fix:
6db504ce55bd ("mm/ksm: fix race with VMA iteration and mm_struct teardown")
Omitted-fix:
f4e9e0e69468 ("mm/mempolicy: fix use-after-free of VMA iterator")
Omitted-fix:
00ca0f2e86bf ("mm/mempolicy: correctly update prev when policy is equal on mbind")
Omitted-fix:
51f625377561 ("mm/mempolicy: fix set_mempolicy_home_node() previous VMA pointe")
Omitted-fix:
7f31cced5724 ("nommu: fix memory leak in do_mmap() error path")
Omitted-fix:
80be727ec872 ("nommu: fix do_munmap() error path")
Omitted-fix:
fd9edbdbdcde ("nommu: fix split_vma() map_count error")
Omitted-fix:
606c812eb1d5 ("mm/mmap: Fix error path in do_vmi_align_munmap()")
Omitted-fix:
6c26bd4384da ("mm/mmap: Fix error return in do_vmi_align_munmap()")
Omitted-fix:
675eaca1f441 ("mm/mmap: properly unaccount memory on mas_preallocate() failure")
Omitted-fix:
0411d6ee50e3 ("include/linux/mm: fix release_pages_arg kernel doc comment")
Signed-off-by: Chris von Recklinghausen crecklin@redhat.com
Edited by Jarod Wilson