On Mon, Jun 15, 2020 at 2:15 PM Joonsoo Kim wrote:
>
> 2020년 6월 14일 (일) 오후 9:39, Muchun Song 님이 작성:
> >
> > 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
2020년 6월 14일 (일) 오후 9:39, Muchun Song 님이 작성:
>
> 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
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
---
mm/slub.c | 8
1 file
3 matches
Mail list logo