diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2023-07-13 18:00:28 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:07 -0400 |
commit | 5eaa76d813d48a524a1ce040539048b851a0a20c (patch) | |
tree | 701e7bbaee3bde1a4e12596e49c14500710a7139 /fs/bcachefs/acl.c | |
parent | 986e9842fb6825f65918ed400b29c8c878359b7a (diff) |
bcachefs: mark bch_inode_info and bkey_cached as reclaimable
Mark these caches as reclaimable, so that available memory is correctly
reported when there is a lot of cached inodes.
Note that more work is needed - you should add __GFP_RECLAIMABLE to some
of the kmalloc calls, so that they are allocated from the "kmalloc-rcl-*"
caches.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/acl.c')
0 files changed, 0 insertions, 0 deletions