Re: Cgroup v2 bug: "domain invalid" node can't be converted to "threaded"

From: Tejun Heo
Date: Thu Oct 04 2018 - 16:29:54 EST


On Thu, Oct 04, 2018 at 11:20:17AM -0700, Tejun Heo wrote:
> Subject: cgroup: Fix dom_cgrp propagation when enabling threaded mode
>
> A cgroup which is already a threaded domain may be converted into a
> threaded cgroup if the prerequisite conditions are met. When this
> happens, all threaded descendant should also have their ->dom_cgrp
> updated to the new threaded domain cgroup. Unfortunately, this
> propagation was missing leading to the following failure.

Applied to cgroup/for-4.19-fixes w/ reported-bys added.

Thanks.

--
tejun