diff options
author | 2024-03-21 16:58:18 -0700 | |
---|---|---|
committer | 2024-03-26 11:07:23 -0700 | |
commit | 30af24facf0aed12dec23bdf6eac6a907f88306a (patch) | |
tree | 35d01113a579cf8f2543cb0e9a6a3a63cd6ac291 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tmpfs: fix race on handling dquot rbtree (diff) | |
download | linux-rng-30af24facf0aed12dec23bdf6eac6a907f88306a.tar.xz linux-rng-30af24facf0aed12dec23bdf6eac6a907f88306a.zip |
userfaultfd: fix deadlock warning when locking src and dst VMAs
Use down_read_nested() to avoid the warning.
Link: https://lkml.kernel.org/r/20240321235818.125118-1-lokeshgidra@google.com
Fixes: 867a43a34ff8 ("userfaultfd: use per-vma locks in userfaultfd operations")
Reported-by: syzbot+49056626fe41e01f2ba7@syzkaller.appspotmail.com
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Hillf Danton <hdanton@sina.com>
Cc: Jann Horn <jannh@google.com> [Bug #2]
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Nicolas Geoffray <ngeoffray@google.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions