aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2024-09-04 15:30:48 -0400
committerKent Overstreet <[email protected]>2024-09-21 11:39:48 -0400
commitff7f756f2be5b37e323ff8215e500ee564551db9 (patch)
tree1f3b855cd4e59d954a75a74549f97adaf66547c7 /tools/testing/selftests/bpf/progs/test_autoload.c
parent895fbf1cf02f0c913bb443e9ae18a230bbd174c1 (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 <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions