Re: [PATCH v1 01/14] mm: memcg: introduce memcontrol-v1.c

From: Roman Gushchin
Date: Mon Jun 03 2024 - 23:59:14 EST


On Fri, May 31, 2024 at 11:42:26PM -0700, Shakeel Butt wrote:
> 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>

Thank you for reviewing the series!