Re: [PATCH 5/6] cgroup: implement cgroup v2 thread support

From: Tejun Heo
Date: Wed Jul 19 2017 - 13:48:53 EST


Hello, Waiman.

On Wed, Jul 19, 2017 at 01:09:38PM -0400, Waiman Long wrote:
> For me, that is the only good reason why we should keep the current
> behavior. So I am fine with that.
>
> + cgrp->dom_cgrp = cgrp->dom_cgrp;
>
> However, I am still puzzled by above line of code, should it be just
>
> cgrp->dom_cgrp = cgrp;

Oh I see. Yeah, that's just a silly (harmless) bug. The field gets
properly initialized in init_cgroup_housekeeping(). I'll remove that
line.

Thanks!

--
tejun