[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+qeAOpiW41i3dKyxYp_G9kB=Z9Kr7ZXeJOyq8QZP=qy6H6T3Q@mail.gmail.com>
Date: Mon, 25 Aug 2014 23:00:00 +0800
From: Dongsheng Yang <dongsheng081251@...il.com>
To: Tejun Heo <tj@...nel.org>
Cc: Dongsheng Yang <yangds.fnst@...fujitsu.com>, lizefan@...wei.com,
cgroups@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH V2] cgroup: Introduce cgroup_detach_task().
On Mon, Aug 25, 2014 at 10:47 PM, Tejun Heo <tj@...nel.org> wrote:
> 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.
Okey, I should not think it as attaching and detaching. Just treat them as
a move between root and non-root cgroup.
It sounds reasonable to me now.
Thanx.
>
> Thanks.
>
> --
> tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists