diff options
author | Suren Baghdasaryan <surenb@google.com> | 2023-02-27 20:36:13 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-04-06 06:02:58 +0300 |
commit | ccf1d78d8b86e28502fa1b575a459a402177def4 (patch) | |
tree | 1a7ca52d3eba3f608ca87c6113e17b427f7b929c /mm/khugepaged.c | |
parent | c732293331a22187d59cd485879276a1da398387 (diff) | |
download | linux-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