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>
Loading
Please register or sign in to comment