summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlan Huang <mmpgouride@gmail.com>2025-02-26 12:33:22 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2025-02-27 03:31:05 +0300
commit677bdb7346b6fd806ea45b11cbfe36de0b0cd644 (patch)
tree7d3444ff37a1d2ba06d4b7da078f1fc0de9d86c2 /tools/perf/scripts/python/export-to-postgresql.py
parent7909d1fb90e290ffd7b8570f4e2f97fe2fb381d0 (diff)
downloadlinux-677bdb7346b6fd806ea45b11cbfe36de0b0cd644.tar.xz
bcachefs: Fix deadlock
This fixes two deadlocks: 1.pcpu_alloc_mutex involved one as pointed by syzbot[1] 2.recursion deadlock. The root cause is that we hold the bc lock during alloc_percpu, fix it by following the pattern used by __btree_node_mem_alloc(). [1] https://lore.kernel.org/all/66f97d9a.050a0220.6bad9.001d.GAE@google.com/T/ Reported-by: syzbot+fe63f377148a6371a9db@syzkaller.appspotmail.com Tested-by: syzbot+fe63f377148a6371a9db@syzkaller.appspotmail.com Signed-off-by: Alan Huang <mmpgouride@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions