summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-02-05 19:13:39 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2025-03-14 21:02:13 -0400
commit35282ce9e82f6e4c044e6a74b6fef45dd4996718 (patch)
tree36a85d725079d1df61f74f8880ae1c2806baafd3 /tools/perf/scripts/python
parent2e853fdbc74411643b00a14ee75ca234675a9bf2 (diff)
downloadlinux-35282ce9e82f6e4c044e6a74b6fef45dd4996718.tar.gz
linux-35282ce9e82f6e4c044e6a74b6fef45dd4996718.zip
bcachefs: Free journal bufs when not in use
Since we're increasing the number of 'struct journal_bufs', we don't want them all permanently holding onto buffers for the journal data - that'd be 16 * 2MB = 32MB, or potentially more. Add a single-element mempool (open coded, since buffer size varies), this also means we won't be hitting the memory allocator every time we open and close a journal entry/buffer. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions