mm, slab: remove the corner case of inc_slabs_node()
authorChengming Zhou <chengming.zhou@linux.dev>
Thu, 22 Feb 2024 13:02:33 +0000 (13:02 +0000)
committerVlastimil Babka <vbabka@suse.cz>
Fri, 1 Mar 2024 15:52:14 +0000 (16:52 +0100)
commit3dd549a557f7dc326d59c5fa105e230ebf3d5458
tree3d914a5517a9dbb1a70be2658c33887e5300e1bd
parent011568eb3117a1b0e1b2e980de37a4ec47952617
mm, slab: remove the corner case of inc_slabs_node()

We already have the inc_slabs_node() after kmem_cache_node->node[node]
initialized in early_kmem_cache_node_alloc(), this special case of
inc_slabs_node() can be removed. Then we don't need to consider the
existence of kmem_cache_node in inc_slabs_node() anymore.

Signed-off-by: Chengming Zhou <chengming.zhou@linux.dev>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/slub.c