summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-05-28 03:44:38 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:10:03 -0400
commitd95dd378c207ddec7551cce2e047e6067c3c27ab (patch)
tree559134f6a725b13cff6de65a4ddc859213247c98 /tools/perf/scripts/python/task-analyzer.py
parent3ebfc8fe95c5ec560d2d5c7e7bef62ebaa33a9c4 (diff)
downloadlinux-d95dd378c207ddec7551cce2e047e6067c3c27ab.tar.gz
linux-d95dd378c207ddec7551cce2e047e6067c3c27ab.zip
bcachefs: allocate_dropping_locks()
Add two new helpers for allocating memory with btree locks held: The idea is to first try the allocation with GFP_NOWAIT|__GFP_NOWARN, then if that fails - unlock, retry with GFP_KERNEL, and then call trans_relock(). Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions