Re: [PATCH 3/4] mm/memcg: retrieve parent memcg from css.parent
From: Shakeel Butt
Date: Sun Jan 16 2022 - 14:54:58 EST
On Mon, Jan 10, 2022 at 5:03 PM Wei Yang <richard.weiyang@xxxxxxxxx> wrote:
>
> The parent we get from page_counter is correct, while this is two
> different hierarchy.
>
> Let's retrieve the parent memcg from css.parent just like parent_cs(),
> blkcg_parent(), etc.
>
> Signed-off-by: Wei Yang <richard.weiyang@xxxxxxxxx>
Reviewed-by: Shakeel Butt <shakeelb@xxxxxxxxxx>