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

From: Muchun Song
Date: Mon Jun 15 2020 - 02:21:26 EST


On Mon, Jun 15, 2020 at 2:15 PM Joonsoo Kim <js1304@xxxxxxxxx> wrote:
>
> 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.

OK, Thanks. I will remove it in the next version.

--
Yours,
Muchun