Re: [PATCH v5 update 30/32] mm: memcontrol: convert objcg to be per-memcg per-node type
From: Shakeel Butt
Date: Thu Feb 26 2026 - 15:11:19 EST
On Wed, Feb 25, 2026 at 05:44:56PM +0800, Qi Zheng wrote:
> From: Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx>
>
> Convert objcg to be per-memcg per-node type, so that when reparent LRU
> folios later, we can hold the lru lock at the node level, thus avoiding
> holding too many lru locks at once.
>
> Signed-off-by: Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx>
> ---
> changlog:
> - fix a missing root_obj_cgroup conversion and completely delete
> root_obj_cgroup.
>
After this patch, do we care that page/folio/slab points to the objcg of the
same node as them for a given memcg?