]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mremap: write-lock VMA while remapping it to a new address range
authorSuren Baghdasaryan <surenb@google.com>
Sat, 11 Jun 2022 04:42:02 +0000 (21:42 -0700)
committerSuren Baghdasaryan <surenb@google.com>
Wed, 23 Nov 2022 02:09:45 +0000 (02:09 +0000)
commit3e64d0b50d85519af6696bd556bc18d34bba9d97
tree291efd0cb92e2dc0c4fd373146a74e2801b0aad8
parent8a9cb40b57c4cc5ef169e9f0fdaad5dd2adebfd2
mm/mremap: write-lock VMA while remapping it to a new address range

Write-lock VMA as locked before copying it and when copy_vma produces
a new VMA.

Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Reviewed-by: Laurent Dufour <laurent.dufour@fr.ibm.com>
mm/mmap.c
mm/mremap.c