diff options
author | Xiongwei Song <[email protected]> | 2023-04-13 22:34:52 +0800 |
---|---|---|
committer | Vlastimil Babka <[email protected]> | 2023-05-22 15:20:21 +0200 |
commit | 8040cbf5e1da2fe86558239b92927a947c79ecd6 (patch) | |
tree | 117c0a6a9463eff9b69ecb38379603c992f20e6c /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 4f174a8bacebf57ffa18be0439b9ed7ee6d00c70 (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 <[email protected]>
Signed-off-by: Vlastimil Babka <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions