Re: [PATCH] mm: memcg: move cgroup v1 oom handling code into memcontrol-v1.c: fixup

From: Roman Gushchin
Date: Wed Jul 03 2024 - 22:07:02 EST


On Wed, Jul 03, 2024 at 06:52:50PM -0700, Andrew Morton wrote:
> On Thu, 4 Jul 2024 00:27:12 +0000 Roman Gushchin <roman.gushchin@xxxxxxxxx> wrote:
>
> > This is a small fixup for the commit
> > "mm: memcg: move cgroup v1 oom handling code into memcontrol-v1.c".
> >
> > I forgot to actually move two functions mem_cgroup_node_nr_lru_pages()
> > and mem_cgroup_nr_lru_pages() into mm/memcontrol-v1.c, so that they remain
> > in mm/memcontrol.c and their commented out duplicated versions in
> > mm/memcontrol-v1.c.
> >
> > Andrew, can you, please, squash it into the original commit?
> >
>
> Seems this wants to live behind "mm: memcg: move cgroup v1 interface
> files to memcontrol-v1.c" so that's where I placed it.

Right, this is the proper place for it.

Thank you!