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