[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yo7dqwUZhpe2amtF@FVFYT0MHHV2J.googleapis.com>
Date: Thu, 26 May 2022 09:53:47 +0800
From: Muchun Song <songmuchun@...edance.com>
To: Roman Gushchin <roman.gushchin@...ux.dev>
Cc: Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
Dave Chinner <dchinner@...hat.com>,
linux-kernel@...r.kernel.org,
Kent Overstreet <kent.overstreet@...il.com>,
Hillf Danton <hdanton@...a.com>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Subject: Re: [PATCH v4 1/6] mm: memcontrol: introduce mem_cgroup_ino() and
mem_cgroup_get_from_ino()
On Wed, May 25, 2022 at 01:25:55PM -0700, Roman Gushchin wrote:
> Shrinker debugfs requires a way to represent memory cgroups without
> using full paths, both for displaying information and getting input
> from a user.
>
> Cgroup inode number is a perfect way, already used by bpf.
>
> This commit adds a couple of helper functions which will be used
> to handle memcg-aware shrinkers.
>
> Signed-off-by: Roman Gushchin <roman.gushchin@...ux.dev>
Acked-by: Muchun Song <songmuchun@...edance.com>
Thanks.
Powered by blists - more mailing lists