Re: [PATCH v1 4/9] mm: memcg: gather memcg1-specific fields initialization in memcg1_memcg_init()

Shakeel Butt
2024-06-29T00:43:56Z

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@linux.dev>

Acked-by: Shakeel Butt <shakeel.butt@linux.dev>