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

From: Tejun Heo
Date: Tue Aug 23 2022 - 14:11:48 EST


Hello,

On Tue, Aug 23, 2022 at 03:04:31PM +0300, Vasily Averin wrote:
> I would like to properly handle cgroup1 case too.
> To do it we can enable accounting for new 'struct cgroup' objects,
> and bind them to memcg of creator task.

I'm not sure it'd be a good idea to introduce two different behaviors for
handling the same thing. I'd just leave cgroup1 as-is.

Thanks.

--
tejun