summaryrefslogtreecommitdiffstats
path: root/mm/rmap.c
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2023-02-27 18:36:13 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-04-06 05:02:58 +0200
commitccf1d78d8b86e28502fa1b575a459a402177def4 (patch)
tree1a7ca52d3eba3f608ca87c6113e17b427f7b929c /mm/rmap.c
parentmm: mark VMA as being written when changing vm_flags (diff)
downloadlinux-ccf1d78d8b86e28502fa1b575a459a402177def4.tar.xz
linux-ccf1d78d8b86e28502fa1b575a459a402177def4.zip
mm/mmap: move vma_prepare before vma_adjust_trans_huge
vma_prepare() acquires all locks required before VMA modifications. Move vma_prepare() before vma_adjust_trans_huge() so that VMA is locked before any modification. Link: https://lkml.kernel.org/r/20230227173632.3292573-15-surenb@google.com Signed-off-by: Suren Baghdasaryan <surenb@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions