Re: [PATCH V2] cgroup: Introduce cgroup_detach_task().

From: Tejun Heo
Date: Mon Aug 25 2014 - 10:47:21 EST


On Mon, Aug 25, 2014 at 10:46:03PM +0800, Dongsheng Yang wrote:
> My point here is that attaching and detaching are a pair of operations.

There is no detaching from a cgroup. A task is always attached to a
cgroup whether that's a root or non-root cgroup.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/