diff options
author | Xiongwei Song <xiongwei.song@windriver.com> | 2023-04-13 17:34:52 +0300 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2023-05-22 16:20:21 +0300 |
commit | 8040cbf5e1da2fe86558239b92927a947c79ecd6 (patch) | |
tree | 117c0a6a9463eff9b69ecb38379603c992f20e6c /mm/Kconfig | |
parent | 4f174a8bacebf57ffa18be0439b9ed7ee6d00c70 (diff) | |
download | linux-8040cbf5e1da2fe86558239b92927a947c79ecd6.tar.xz |
slub: Don't read nr_slabs and total_objects directly
We have node_nr_slabs() to read nr_slabs, node_nr_objs() to read
total_objects in a kmem_cache_node, so no need to access the two
members directly.
Signed-off-by: Xiongwei Song <xiongwei.song@windriver.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'mm/Kconfig')
0 files changed, 0 insertions, 0 deletions