summaryrefslogtreecommitdiffstats
path: root/mm/maccess.c
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2023-02-27 09:36:13 -0800
committerAndrew Morton <akpm@linux-foundation.org>2023-04-05 20:02:58 -0700
commitccf1d78d8b86e28502fa1b575a459a402177def4 (patch)
tree1a7ca52d3eba3f608ca87c6113e17b427f7b929c /mm/maccess.c
parentc732293331a22187d59cd485879276a1da398387 (diff)
downloadlinux-stable-ccf1d78d8b86e28502fa1b575a459a402177def4.tar.gz
linux-stable-ccf1d78d8b86e28502fa1b575a459a402177def4.tar.bz2
linux-stable-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 'mm/maccess.c')
0 files changed, 0 insertions, 0 deletions