Re: [PATCH v1 4/9] mm: memcg: gather memcg1-specific fields initialization in memcg1_memcg_init()
From: Shakeel Butt
Date: Fri Jun 28 2024 - 20:44:01 EST
On Fri, Jun 28, 2024 at 09:03:12PM GMT, Roman Gushchin wrote:
> Gather all memcg1-specific struct mem_cgroup's members initialization
> in a new memcg1_memcg_init() function, defined in mm/memcontrol-v1.c.
> Obviously, if CONFIG_MEMCG_V1 is not set, there is no need to
> initialize these fields, so the function becomes trivial.
>
> Signed-off-by: Roman Gushchin <roman.gushchin@xxxxxxxxx>
Acked-by: Shakeel Butt <shakeel.butt@xxxxxxxxx>