Re: [PATCH 2/3] mm/slub: Use node_nr_slabs() instead of slabs_node()

From: Joonsoo Kim
Date: Mon Jun 15 2020 - 02:15:46 EST


2020ë 6ì 14ì (ì) ìí 9:39, Muchun Song <songmuchun@xxxxxxxxxxxxx>ëì ìì:
>
> In the some code, we already get the kmem_cache_node, so we can
> use node_nr_slabs() directly instead of slabs_node(). Check the
> condition of n->nr_partial can also be removed because we can get
> the correct result via node_nr_slabs().
>
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

If appying this patch, there is no reference to slabs_node(). Please remove it.

Thanks.