summaryrefslogtreecommitdiff
path: root/mm/vma.c?id=7e7b2370ed0551d2fa8e4bd6e4bbd603fef3cdcd
diff options
context:
space:
mode:
authorLiam R. Howlett <Liam.Howlett@Oracle.com>2024-08-30 00:00:42 -0400
committerAndrew Morton <akpm@linux-foundation.org>2024-09-03 21:15:48 -0700
commit7e7b2370ed0551d2fa8e4bd6e4bbd603fef3cdcd (patch)
treec09adbc46f7eba6d8b779def9d0072bc9208c863 /mm/vma.c?id=7e7b2370ed0551d2fa8e4bd6e4bbd603fef3cdcd
parentb7012d513f81959596a01083415597edb04cf509 (diff)
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. Link: https://lkml.kernel.org/r/20240830040101.822209-3-Liam.Howlett@oracle.com 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> Cc: Bert Karwatzki <spasswolf@web.de> Cc: Jeff Xu <jeffxu@chromium.org> Cc: Jiri Olsa <olsajiri@gmail.com> Cc: Kees Cook <kees@kernel.org> Cc: Lorenzo Stoakes <lstoakes@gmail.com> Cc: Mark Brown <broonie@kernel.org> Cc: Matthew Wilcox <willy@infradead.org> Cc: "Paul E. McKenney" <paulmck@kernel.org> Cc: Paul Moore <paul@paul-moore.com> Cc: Sidhartha Kumar <sidhartha.kumar@oracle.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/vma.c?id=7e7b2370ed0551d2fa8e4bd6e4bbd603fef3cdcd')
0 files changed, 0 insertions, 0 deletions