summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-03-31 15:46:45 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-05-21 20:13:33 -0400
commitac0952b0e50934a15fdd67a2ff376e6ab8152c39 (patch)
tree2c5a5b8116e568d2d6ce0a7eacf2d06006e43a65 /tools/perf/scripts/python/libxed.py
parent7100344301d80f09ea64c37c35ea10163d35d433 (diff)
downloadlinux-ac0952b0e50934a15fdd67a2ff376e6ab8152c39.tar.gz
linux-ac0952b0e50934a15fdd67a2ff376e6ab8152c39.zip
bcachefs: new_stripe_alloc_buckets() takes alloc_request
More stack usage improvements: instead of creating a new alloc_request (currently on the stack), save/restore just the fields we need to reuse. This is a bit tricky, because we're doing a normal alloc_foreground.c allocation, which calls into ec.c to get a stripe, which then does more normal allocations - some of the fields get reused, and used differently. So we have to save and restore them - but the stack usage improvements will be well worth it. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions