]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: write-lock VMAs before removing them from VMA tree
authorSuren Baghdasaryan <surenb@google.com>
Sat, 11 Jun 2022 05:15:49 +0000 (22:15 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 4 Jan 2023 20:59:25 +0000 (15:59 -0500)
commitca70de3ec4af4a8f99331d03349e56c9b4c18193
tree842fdee63ce67b2c6e467f481fb8de3e57ee6649
parente77a9be11193f7f8fdbad75351fce39090261ad5
mm: write-lock VMAs before removing them from VMA tree

Write-locking VMAs before isolating them ensures that page fault
handlers don't operate on isolated VMAs.

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