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

From: David Hildenbrand

Date: Mon Oct 06 2025 - 02:46:42 EST


On 03.10.25 18:53, Qi Zheng wrote:
From: Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx>

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.


Much cleaner IMHO

Acked-by: David Hildenbrand <david@xxxxxxxxxx>

--
Cheers

David / dhildenb