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

2020-10-19 Thread Shakeel Butt
On Tue, Oct 13, 2020 at 8:36 AM 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

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

2020-10-13 Thread David Rientjes
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

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

2020-10-13 Thread Roman Gushchin
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

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

2020-10-13 Thread Muchun Song
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 ---