Messages in this thread | | | Date | Thu, 26 May 2022 09:53:47 +0800 | From | Muchun Song <> | 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@linux.dev>
Acked-by: Muchun Song <songmuchun@bytedance.com>
Thanks.
| |