Re: [PATCH] mm: introduce entrance for root_mem_cgroup's current

From: Zhaoyang Huang
Date: Thu Feb 02 2023 - 01:37:26 EST


On Thu, Feb 2, 2023 at 2:30 PM Shakeel Butt <shakeelb@xxxxxxxxxx> wrote:
>
> On Wed, Feb 1, 2023 at 8:34 PM zhaoyang.huang <zhaoyang.huang@xxxxxxxxxx> wrote:
> >
> > From: Zhaoyang Huang <zhaoyang.huang@xxxxxxxxxx>
> >
> > Introducing memory.root_current for the memory charges on root_mem_cgroup.
>
> Why and how are you planning to use it?
root_mem_cgroup is lack of such statistic entry for debug purpose,
which is the counterpart of memory.current within other memcgs