diff options
| author | Hugh Dickins <[email protected]> | 2023-07-08 23:04:00 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2023-07-08 23:44:11 +0000 |
| commit | 1c7873e3364570ec89343ff4877e0f27a7b21a61 (patch) | |
| tree | 1368b56679e63ef9a016aca41408e66ba7d6365f /scripts/clang-tools/gen_compile_commands.py | |
| parent | Merge tag 'mm-hotfixes-stable-2023-07-08-10-43' of git://git.kernel.org/pub/s... (diff) | |
| download | kernel-1c7873e3364570ec89343ff4877e0f27a7b21a61.tar.gz kernel-1c7873e3364570ec89343ff4877e0f27a7b21a61.zip | |
mm: lock newly mapped VMA with corrected ordering
Lockdep is certainly right to complain about
(&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_write+0x2d/0x3f
but task is already holding lock:
(&mapping->i_mmap_rwsem){+.+.}-{3:3}, at: mmap_region+0x4dc/0x6db
Invert those to the usual ordering.
Fixes: 33313a747e81 ("mm: lock newly mapped VMA which can be modified after it becomes visible")
Cc: [email protected]
Signed-off-by: Hugh Dickins <[email protected]>
Tested-by: Suren Baghdasaryan <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
