]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: Mark bch_inode_info as SLAB_ACCOUNT
authorYouling Tang <tangyouling@kylinos.cn>
Wed, 3 Jul 2024 07:09:55 +0000 (15:09 +0800)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 9 Sep 2024 13:41:47 +0000 (09:41 -0400)
commit094c6a9f5cd567e9fe0e9f0616157a7e6369566e
tree262e54d78c5d972a1a8fc48228789227b20b0b76
parent082330c361944a234db42750792b491f3b76d43b
bcachefs: Mark bch_inode_info as SLAB_ACCOUNT

After commit 230e9fc28604 ("slab: add SLAB_ACCOUNT flag"), we need to mark
the inode cache as SLAB_ACCOUNT, similar to commit 5d097056c9a0 ("kmemcg:
account for certain kmem allocations to memcg")

Signed-off-by: Youling Tang <tangyouling@kylinos.cn>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs.c