summaryrefslogtreecommitdiff
path: root/mm/khugepaged.c
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2023-02-27 20:36:13 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-04-06 06:02:58 +0300
commitccf1d78d8b86e28502fa1b575a459a402177def4 (patch)
tree1a7ca52d3eba3f608ca87c6113e17b427f7b929c /mm/khugepaged.c
parentc732293331a22187d59cd485879276a1da398387 (diff)
downloadlinux-ccf1d78d8b86e28502fa1b575a459a402177def4.tar.xz
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/khugepaged.c')
0 files changed, 0 insertions, 0 deletions