]> 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)
committerSuren Baghdasaryan <surenb@google.com>
Wed, 23 Nov 2022 02:09:45 +0000 (02:09 +0000)
commiteba1746e75fe853db744bbf1be9c11707c6bc08d
treecfb4ea8378681a25ab45fce3b2505aa3869c9ec8
parent3e64d0b50d85519af6696bd556bc18d34bba9d97
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