On Tue, May 28, 2024 at 01:20:53PM GMT, Roman Gushchin wrote: > This patch introduces the mm/memcontrol-v1.c source file which will be used for > all legacy (cgroup v1) memory cgroup code. It also introduces mm/memcontrol-v1.h > to keep declarations shared between mm/memcontrol.c and mm/memcontrol-v1.c. > > As of now, let's compile it if CONFIG_MEMCG is set, similar to mm/memcontrol.c. > Later on it can be switched to use a separate config option, so that the legacy > code won't be compiled if not required. > > Signed-off-by: Roman Gushchin <roman.gushchin@xxxxxxxxx> Acked-by: Shakeel Butt <shakeel.butt@xxxxxxxxx>