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>