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

From: Andrew Morton
Date: Wed Jul 03 2024 - 21:53:00 EST


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.