Re: A "domain invalid" cgroup *can* sometimes have member tasks

From: Michael Kerrisk (man-pages)
Date: Wed Feb 21 2018 - 02:45:51 EST


Hi Tehjun,

On 21 February 2018 at 00:01, Tejun Heo <tj@xxxxxxxxxx> wrote:
> On Tue, Feb 20, 2018 at 11:35:47AM -0800, Tejun Heo wrote:
>> Hmm... nr_populated_domain_children check should have caught that
>> condition and rejected it. Will look into what's going on.
>
> Ah, okay, I was special-casing the first level children case too
> early. If you nest the test case by one more level, it fails as
> intended. I'll fix the checks.

Thanks for looking into this so quickly! Please CC me on the patch.

Cheers,

Michael

--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/