Re: [PATCH] cgroup: Prevent double killing of css when enabling threaded cgroup

From: Tejun Heo
Date: Wed Jan 15 2020 - 11:07:52 EST


On Thu, Jan 09, 2020 at 04:05:59PM +0100, Michal Koutný wrote:
> The commit prevents these situations by making cgroup_type_write wait
> for all dying csses to go away before re-applying subtree controls.
> When at it, the locations of WARN_ON_ONCE calls are moved so that
> warning is triggered only when we are about to misuse the dying css.

Applied to cgroup/for-5.6.

Thanks.

--
tejun