]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mmap: write-lock VMAs affected by VMA expansion
authorSuren Baghdasaryan <surenb@google.com>
Sun, 30 Oct 2022 17:35:38 +0000 (17:35 +0000)
committerSuren Baghdasaryan <surenb@google.com>
Wed, 23 Nov 2022 02:09:45 +0000 (02:09 +0000)
commit8a9cb40b57c4cc5ef169e9f0fdaad5dd2adebfd2
tree60335ec838718a3da75bba871f0bf4b395df9ad6
parentd166f72ae499d61cf83d3b553595c9b95908734d
mm/mmap: write-lock VMAs affected by VMA expansion

vma_expand changes VMA boundaries and might result in freeing an adjacent
VMA. Write-lock affected VMAs to prevent concurrent page faults.

Signed-off-by: Suren Baghdasaryan <surenb@google.com>
mm/mmap.c