Re: [RFC PATCH -next 2/2] mm/mglru: remove memcg lru
From: Johannes Weiner
Date: Thu Dec 04 2025 - 13:34:39 EST
On Thu, Dec 04, 2025 at 12:31:24PM +0000, Chen Ridong wrote:
> From: Chen Ridong <chenridong@xxxxxxxxxx>
>
> Now that the previous patch has switched global reclaim to use
> mem_cgroup_iter, the specialized memcg LRU infrastructure is no longer
> needed. This patch removes all related code:
>
> Signed-off-by: Chen Ridong <chenridong@xxxxxxxxxx>
Looks good to me!
Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>
> ---
> Documentation/mm/multigen_lru.rst | 30 ------
> include/linux/mmzone.h | 89 -----------------
> mm/memcontrol-v1.c | 6 --
> mm/memcontrol.c | 4 -
> mm/mm_init.c | 1 -
> mm/vmscan.c | 153 +-----------------------------
> 6 files changed, 1 insertion(+), 282 deletions(-)