]> 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)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 4 Jan 2023 20:59:25 +0000 (15:59 -0500)
commit4f181a975e6ab8994f27c3694da3c2fb66da7329
tree000299841776982a53962d3f7945fab43a92aea5
parent1b102c55c141041568aef126b4e9b3aa9a8bb9ea
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