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

From: Roman Gushchin
Date: Tue Oct 13 2020 - 12:36:21 EST


On Tue, Oct 13, 2020 at 11:35:04PM +0800, 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: Roman Gushchin <guro@xxxxxx>

Thanks!