summaryrefslogtreecommitdiff
path: root/mm/Kconfig
diff options
context:
space:
mode:
authorXiongwei Song <xiongwei.song@windriver.com>2023-04-13 22:34:52 +0800
committerVlastimil Babka <vbabka@suse.cz>2023-05-22 15:20:21 +0200
commit8040cbf5e1da2fe86558239b92927a947c79ecd6 (patch)
tree117c0a6a9463eff9b69ecb38379603c992f20e6c /mm/Kconfig
parent4f174a8bacebf57ffa18be0439b9ed7ee6d00c70 (diff)
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