Linux cgroups development
 help / color / mirror / Atom feed
From: Li Zefan <lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
To: Dongsheng Yang <dongsheng081251-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Tejun Heo <tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Dongsheng Yang
	<yangds.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>,
	cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.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-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 2014/8/25 23:00, Dongsheng Yang wrote:
> On Mon, Aug 25, 2014 at 10:47 PM, Tejun Heo <tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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.

  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 [PATCH V2] cgroup: Introduce cgroup_detach_task() Dongsheng Yang
     [not found] ` <1408966330-2374-1-git-send-email-yangds.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2014-08-25 14:12   ` Tejun Heo
     [not found]     ` <20140825141220.GA31066-9pTldWuhBndy/B6EtB590w@public.gmane.org>
2014-08-25 14:46       ` Dongsheng Yang
2014-08-25 14:47         ` Tejun Heo
     [not found]           ` <20140825144710.GA21688-Gd/HAXX7CRxy/B6EtB590w@public.gmane.org>
2014-08-25 15:00             ` Dongsheng Yang
     [not found]               ` <CA+qeAOpiW41i3dKyxYp_G9kB=Z9Kr7ZXeJOyq8QZP=qy6H6T3Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-26  1:35                 ` Li Zefan [this message]
     [not found]                   ` <53FBE468.6050805-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2014-08-26  2:15                     ` Dongsheng Yang
     [not found]                       ` <CA+qeAOq-=Yzi6tNq_-2O3yYamxXH99fTd=BUFSrbgcvxW5sRSA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
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-hv44wf8li93qt0dzr+alfa@public.gmane.org \
    --cc=cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=dongsheng081251-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=yangds.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org \
    /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