]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/vma: Introduce abort_munmap_vmas()
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 9 Aug 2024 19:04:00 +0000 (15:04 -0400)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 20 Aug 2024 15:34:43 +0000 (11:34 -0400)
commit8fc9a0fdb88a856ff8dcfd2220dc5b28e64f8df0
treed99e4dfbb0bbe68d9d419bef9bd7704e2eb2df59
parent164421d9f7cf922ff92736be2150a789514bcbba
mm/vma: Introduce abort_munmap_vmas()

Extract clean up of failed munmap() operations from
do_vmi_align_munmap().  This simplifies later patches in the series.

It is worth noting that the mas_for_each() loop now has a different
upper limit.  This should not change the number of vmas visited for
reattaching to the main vma tree (mm_mt), as all vmas are reattached in
both scenarios.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Reviewed-by: Suren Baghdasaryan <surenb@google.com>
mm/vma.c