Re: [PATCH v2 00/28] Eliminate Dying Memory Cgroup

From: Michal Koutný
Date: Mon Dec 29 2025 - 05:53:35 EST


On Mon, Dec 29, 2025 at 06:35:22PM +0900, Harry Yoo <harry.yoo@xxxxxxxxxx> wrote:
> > The memcg-v1 was originally planned to be removed, could we skip
> > supporting v1?
>
> You mean not reparenting LRU pages if CONFIG_MEMCG_V1 is set?

More precisely it should be dynamic
!cgroup_subsys_on_dfl(memory_cgrp_subsys)

> That may work,

But would it make the code actually simpler? (Keeping two versions at
multiple places vs transferring local stats at the right moment.)

Thanks,
Michal

Attachment: signature.asc
Description: PGP signature