[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b2498436-13dd-43d6-4b7b-d4d650d1d5b9@openvz.org>
Date: Wed, 17 Aug 2022 18:02:55 +0300
From: Vasily Averin <vvs@...nvz.org>
To: Michal Koutný <mkoutny@...e.com>
Cc: Roman Gushchin <roman.gushchin@...ux.dev>, tj@...nel.org,
gregkh@...uxfoundation.org, hannes@...xchg.org, kernel@...nvz.org,
linux-kernel@...r.kernel.org, mhocko@...e.com, shakeelb@...gle.com,
songmuchun@...edance.com, viro@...iv.linux.org.uk
Subject: Re: [RFC PATCH] memcg: adjust memcg for new cgroup allocations
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
Powered by blists - more mailing lists