Re: [PATCH v4 4/4] mm: thp: reparent the split queue during memcg offline

Zi Yan
2025-10-03T16:58:24Z

On 3 Oct 2025, at 12:53, Qi Zheng wrote:

> From: Qi Zheng <zhengqi.arch@bytedance.com>
>
> Similar to list_lru, the split queue is relatively independent and does
> not need to be reparented along with objcg and LRU folios (holding
> objcg lock and lru lock). So let's apply the similar mechanism as list_lru
> to reparent the split queue separately when memcg is offine.
>
> This is also a preparation for reparenting LRU folios.
>
> Signed-off-by: Qi Zheng <zhengqi.arch@bytedance.com>
> ---
> include/linux/huge_mm.h | 4 +++
> mm/huge_memory.c | 54 +++++++++++++++++++++++++++++++++++++++++
> mm/memcontrol.c | 1 +
> 3 files changed, 59 insertions(+)
>

Acked-by: Zi Yan <ziy@nvidia.com>

Best Regards,
Yan, Zi