, 2014 10:16 AM
To: Li Zefan
Cc: Tejun Heo; Dongsheng Yang; cgro...@vger.kernel.org;
linux-kernel@vger.kernel.org
Subject: Re: [PATCH V2] cgroup: Introduce cgroup_detach_task().
On Tue, Aug 26, 2014 at 9:35 AM, Li Zefan wrote:
> On 2014/8/25 23:00, Dongsheng Yang wrote:
>> On Mon, Aug 25, 2
On Tue, Aug 26, 2014 at 9:35 AM, Li Zefan wrote:
> On 2014/8/25 23:00, Dongsheng Yang wrote:
>> On Mon, Aug 25, 2014 at 10:47 PM, Tejun Heo 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.
>>>
On 2014/8/25 23:00, Dongsheng Yang wrote:
> On Mon, Aug 25, 2014 at 10:47 PM, Tejun Heo 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
On Mon, Aug 25, 2014 at 10:47 PM, Tejun Heo 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
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
Hi tj.
On Mon, Aug 25, 2014 at 10:12 PM, Tejun Heo wrote:
> On Mon, Aug 25, 2014 at 07:32:10PM +0800, Dongsheng Yang wrote:
>> Currently, the only method to detach a task from a cgroup is moving
>> it to others. It looks not natrual to me.
>
> Ummm... how is this different from moving it to the
On Mon, Aug 25, 2014 at 07:32:10PM +0800, Dongsheng Yang wrote:
> Currently, the only method to detach a task from a cgroup is moving
> it to others. It looks not natrual to me.
Ummm... how is this different from moving it to the root cgroup?
"just because" usually isn't a good enough rationale.
Currently, the only method to detach a task from a cgroup is moving
it to others. It looks not natrual to me.
Inspired by cgroup_subtree_control_write(), this patch introduce allow
user to at-detach a process to/from a cgroup by echo "+/-pid" to
cgroup.procs. In addition, we keep the old method
Currently, the only method to detach a task from a cgroup is moving
it to others. It looks not natrual to me.
Inspired by cgroup_subtree_control_write(), this patch introduce allow
user to at-detach a process to/from a cgroup by echo +/-pid to
cgroup.procs. In addition, we keep the old method to
On Mon, Aug 25, 2014 at 07:32:10PM +0800, Dongsheng Yang wrote:
Currently, the only method to detach a task from a cgroup is moving
it to others. It looks not natrual to me.
Ummm... how is this different from moving it to the root cgroup?
just because usually isn't a good enough rationale.
Hi tj.
On Mon, Aug 25, 2014 at 10:12 PM, Tejun Heo t...@kernel.org wrote:
On Mon, Aug 25, 2014 at 07:32:10PM +0800, Dongsheng Yang wrote:
Currently, the only method to detach a task from a cgroup is moving
it to others. It looks not natrual to me.
Ummm... how is this different from moving it
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
On Mon, Aug 25, 2014 at 10:47 PM, Tejun Heo t...@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
On 2014/8/25 23:00, Dongsheng Yang wrote:
On Mon, Aug 25, 2014 at 10:47 PM, Tejun Heo t...@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
On Tue, Aug 26, 2014 at 9:35 AM, Li Zefan lize...@huawei.com wrote:
On 2014/8/25 23:00, Dongsheng Yang wrote:
On Mon, Aug 25, 2014 at 10:47 PM, Tejun Heo t...@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
, 2014 10:16 AM
To: Li Zefan
Cc: Tejun Heo; Dongsheng Yang; cgro...@vger.kernel.org;
linux-kernel@vger.kernel.org
Subject: Re: [PATCH V2] cgroup: Introduce cgroup_detach_task().
On Tue, Aug 26, 2014 at 9:35 AM, Li Zefan lize...@huawei.com wrote:
On 2014/8/25 23:00, Dongsheng Yang wrote:
On Mon, Aug
16 matches
Mail list logo