On Wed, Aug 10, 2022 at 03:18:30PM +0000, Yafang Shao wrote: > The memcg may be the root_mem_cgroup, in which case we shouldn't put it. No, it is ok to put root_mem_cgroup. css_put already handles the root cgroups.
On Wed, Aug 10, 2022 at 03:18:30PM +0000, Yafang Shao wrote: > The memcg may be the root_mem_cgroup, in which case we shouldn't put it. No, it is ok to put root_mem_cgroup. css_put already handles the root cgroups.