diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-09-04 15:30:48 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-09-21 11:39:48 -0400 |
commit | ff7f756f2be5b37e323ff8215e500ee564551db9 (patch) | |
tree | 1f3b855cd4e59d954a75a74549f97adaf66547c7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 895fbf1cf02f0c913bb443e9ae18a230bbd174c1 (diff) |
bcachefs: Use mm_account_reclaimed_pages() when freeing btree nodes
When freeing in a shrinker callback, we need to notify memory reclaim,
so it knows forward progress has been made.
Normally this is done in e.g. slab code, but we're not freeing through
slab - or rather we are, but these allocations are big, and use the
kmalloc_large() path.
This is really a bug in the slub code, but we're working around it here
for now.
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