aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorYouling Tang <tangyouling@kylinos.cn>2024-07-16 10:58:16 +0800
committerKent Overstreet <kent.overstreet@linux.dev>2024-09-09 09:41:47 -0400
commit082330c361944a234db42750792b491f3b76d43b (patch)
treee3585b47fa5b81f4acb0c133b385b617db3f0779 /tools/perf/scripts/python/bin
parentbcachefs: Opt_durability can now be set via bch2_opt_set_sb() (diff)
downloadlinux-082330c361944a234db42750792b491f3b76d43b.tar.gz
linux-082330c361944a234db42750792b491f3b76d43b.zip
bcachefs: allocate inode by using alloc_inode_sb()
The inode allocation is supposed to use alloc_inode_sb(), so convert kmem_cache_alloc() to alloc_inode_sb(). It will also fix [1] to avoid the NULL pointer dereference BUG in list_lru_add() when CONFIG_MEMCG is enabled. Links: [1]: https://lore.kernel.org/all/20589721-46c0-4344-b2ef-6ab48bbe2ea5@linux.dev/ [2]: https://lore.kernel.org/all/7db60e36-9c96-4938-a28d-a9745e287386@linux.dev/ Fixes: 86d81ec5f5f0 ("bcachefs: Mark bch_inode_info as SLAB_ACCOUNT") Signed-off-by: Youling Tang <tangyouling@kylinos.cn> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions