Re: [RFC PATCH] memcg: adjust memcg for new cgroup allocations

From: Vasily Averin
Date: Wed Aug 17 2022 - 11:04:20 EST


On 8/17/22 12:17, Michal Koutný wrote:
>> +static inline struct mem_cgroup *mem_cgroup_from_cgroup(struct cgroup *cgroup)
> [...]
>> + css = cgroup_get_e_css(cgroup, &memory_cgrp_subsys);
>> +
>> + if (css)
>> + memcg = container_of(css, struct mem_cgroup, css);
> Nit: mem_cgroup_from_css

Yes, my fault, you are right.
it was planned initially, but then I lost it somehow.

Thank you very much!
Vasily Averin