Re: [PATCH] mm: memcontrol: Remove unused mod_memcg_obj_state()

From: David Rientjes
Date: Tue Oct 13 2020 - 15:28:20 EST


On Tue, 13 Oct 2020, Muchun Song wrote:

> Since commit:
>
> 991e7673859e ("mm: memcontrol: account kernel stack per node")
>
> There is no user of the mod_memcg_obj_state(). This patch just remove
> it. Also rework type of the idx parameter of the mod_objcg_state()
> from int to enum node_stat_item.
>
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>