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