On Fri, Jun 28, 2024 at 09:03:09PM GMT, Roman Gushchin wrote: > memcg_account_kmem() consists of a trivial statistics change via > mod_memcg_state() call and a relatively large memcg1-specific part. > > Let's factor out the mod_memcg_state() call and move the rest into > the mm/memcontrol-v1.c file. Also rename memcg_account_kmem() > into memcg1_account_kmem() for consistency. > > Signed-off-by: Roman Gushchin <roman.gushchin@xxxxxxxxx> Acked-by: Shakeel Butt <shakeel.butt@xxxxxxxxx>