From: Li Zefan <lizefan@huawei.com>
To: Dongsheng Yang <dongsheng081251@gmail.com>
Cc: Tejun Heo <tj@kernel.org>,
Dongsheng Yang <yangds.fnst@cn.fujitsu.com>,
<cgroups@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH V2] cgroup: Introduce cgroup_detach_task().
Date: Tue, 26 Aug 2014 09:35:36 +0800 [thread overview]
Message-ID: <53FBE468.6050805@huawei.com> (raw)
In-Reply-To: <CA+qeAOpiW41i3dKyxYp_G9kB=Z9Kr7ZXeJOyq8QZP=qy6H6T3Q@mail.gmail.com>
On 2014/8/25 23:00, Dongsheng Yang wrote:
> On Mon, Aug 25, 2014 at 10:47 PM, Tejun Heo <tj@kernel.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.
>
I from time to time have to explain this to other people.
next prev parent reply other threads:[~2014-08-26 1:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-25 11:32 Dongsheng Yang
2014-08-25 14:12 ` Tejun Heo
2014-08-25 14:46 ` Dongsheng Yang
2014-08-25 14:47 ` Tejun Heo
2014-08-25 15:00 ` Dongsheng Yang
2014-08-26 1:35 ` Li Zefan [this message]
2014-08-26 2:15 ` Dongsheng Yang
2014-08-26 2:22 ` Ni, Xun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53FBE468.6050805@huawei.com \
--to=lizefan@huawei.com \
--cc=cgroups@vger.kernel.org \
--cc=dongsheng081251@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tj@kernel.org \
--cc=yangds.fnst@cn.fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®