Messages in this thread | | | Date | Wed, 17 Aug 2022 18:02:55 +0300 | Subject | Re: [RFC PATCH] memcg: adjust memcg for new cgroup allocations | From | Vasily Averin <> |
| |
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
| |