Re: [PATCH v1 1/9] mm: memcg: move memcg_account_kmem() to memcontrol-v1.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux