On 2014/4/16 11:50, Eric W. Biederman wrote:
> Kay Sievers writes:
>
>> On Tue, Apr 15, 2014 at 7:48 PM, Li Zefan wrote:
>>> On 2014/4/15 5:44, Tejun Heo wrote:
cgroup users often need a way to determine when a cgroup's
subhierarchy becomes empty so that it can be cleaned up. cgroup
On 2014/4/16 11:33, Kay Sievers wrote:
> On Tue, Apr 15, 2014 at 7:48 PM, Li Zefan wrote:
>> On 2014/4/15 5:44, Tejun Heo wrote:
>>> cgroup users often need a way to determine when a cgroup's
>>> subhierarchy becomes empty so that it can be cleaned up. cgroup
>>> currently provides release_agent
On Tue, Apr 15, 2014 at 8:50 PM, Eric W. Biederman
wrote:
> Kay Sievers writes:
>
>> On Tue, Apr 15, 2014 at 7:48 PM, Li Zefan wrote:
>>> On 2014/4/15 5:44, Tejun Heo wrote:
cgroup users often need a way to determine when a cgroup's
subhierarchy becomes empty so that it can be cleaned
Kay Sievers writes:
> On Tue, Apr 15, 2014 at 7:48 PM, Li Zefan wrote:
>> On 2014/4/15 5:44, Tejun Heo wrote:
>>> cgroup users often need a way to determine when a cgroup's
>>> subhierarchy becomes empty so that it can be cleaned up. cgroup
>>> currently provides release_agent for it;
On Tue, Apr 15, 2014 at 7:48 PM, Li Zefan wrote:
> On 2014/4/15 5:44, Tejun Heo wrote:
>> cgroup users often need a way to determine when a cgroup's
>> subhierarchy becomes empty so that it can be cleaned up. cgroup
>> currently provides release_agent for it; unfortunately, this mechanism
>> is
Hi Tejun,
On 2014/4/15 5:44, Tejun Heo wrote:
> cgroup users often need a way to determine when a cgroup's
> subhierarchy becomes empty so that it can be cleaned up. cgroup
> currently provides release_agent for it; unfortunately, this mechanism
> is riddled with issues.
>
> * It delivers
On 2014/4/16 0:52, Tejun Heo wrote:
> On Tue, Apr 15, 2014 at 10:54:50AM -0400, Tejun Heo wrote:
>> Hello,
>>
>> On Tue, Apr 15, 2014 at 08:57:21AM +0800, Li Zefan wrote:
>>> Is cgroup.tree_populated a better name?
>>>
>>> cgroup.subtree_control controls child cgroups only, but .subtree_populated
On Tue, Apr 15, 2014 at 10:54:50AM -0400, Tejun Heo wrote:
> Hello,
>
> On Tue, Apr 15, 2014 at 08:57:21AM +0800, Li Zefan wrote:
> > Is cgroup.tree_populated a better name?
> >
> > cgroup.subtree_control controls child cgroups only, but .subtree_populated
> > shows 1 if there're tasks in the
Hello,
On Tue, Apr 15, 2014 at 08:57:21AM +0800, Li Zefan wrote:
> Is cgroup.tree_populated a better name?
>
> cgroup.subtree_control controls child cgroups only, but .subtree_populated
> shows 1 if there're tasks in the cgroup or its children, so the two
> are a bit inconsistent to me.
Yes,
Hello,
On Tue, Apr 15, 2014 at 08:57:21AM +0800, Li Zefan wrote:
Is cgroup.tree_populated a better name?
cgroup.subtree_control controls child cgroups only, but .subtree_populated
shows 1 if there're tasks in the cgroup or its children, so the two
are a bit inconsistent to me.
Yes, good
On Tue, Apr 15, 2014 at 10:54:50AM -0400, Tejun Heo wrote:
Hello,
On Tue, Apr 15, 2014 at 08:57:21AM +0800, Li Zefan wrote:
Is cgroup.tree_populated a better name?
cgroup.subtree_control controls child cgroups only, but .subtree_populated
shows 1 if there're tasks in the cgroup or its
On 2014/4/16 0:52, Tejun Heo wrote:
On Tue, Apr 15, 2014 at 10:54:50AM -0400, Tejun Heo wrote:
Hello,
On Tue, Apr 15, 2014 at 08:57:21AM +0800, Li Zefan wrote:
Is cgroup.tree_populated a better name?
cgroup.subtree_control controls child cgroups only, but .subtree_populated
shows 1 if
Hi Tejun,
On 2014/4/15 5:44, Tejun Heo wrote:
cgroup users often need a way to determine when a cgroup's
subhierarchy becomes empty so that it can be cleaned up. cgroup
currently provides release_agent for it; unfortunately, this mechanism
is riddled with issues.
* It delivers events by
On Tue, Apr 15, 2014 at 7:48 PM, Li Zefan lize...@huawei.com wrote:
On 2014/4/15 5:44, Tejun Heo wrote:
cgroup users often need a way to determine when a cgroup's
subhierarchy becomes empty so that it can be cleaned up. cgroup
currently provides release_agent for it; unfortunately, this
Kay Sievers k...@vrfy.org writes:
On Tue, Apr 15, 2014 at 7:48 PM, Li Zefan lize...@huawei.com wrote:
On 2014/4/15 5:44, Tejun Heo wrote:
cgroup users often need a way to determine when a cgroup's
subhierarchy becomes empty so that it can be cleaned up. cgroup
currently provides
On Tue, Apr 15, 2014 at 8:50 PM, Eric W. Biederman
ebied...@xmission.com wrote:
Kay Sievers k...@vrfy.org writes:
On Tue, Apr 15, 2014 at 7:48 PM, Li Zefan lize...@huawei.com wrote:
On 2014/4/15 5:44, Tejun Heo wrote:
cgroup users often need a way to determine when a cgroup's
subhierarchy
On 2014/4/16 11:33, Kay Sievers wrote:
On Tue, Apr 15, 2014 at 7:48 PM, Li Zefan lize...@huawei.com wrote:
On 2014/4/15 5:44, Tejun Heo wrote:
cgroup users often need a way to determine when a cgroup's
subhierarchy becomes empty so that it can be cleaned up. cgroup
currently provides
On 2014/4/16 11:50, Eric W. Biederman wrote:
Kay Sievers k...@vrfy.org writes:
On Tue, Apr 15, 2014 at 7:48 PM, Li Zefan lize...@huawei.com wrote:
On 2014/4/15 5:44, Tejun Heo wrote:
cgroup users often need a way to determine when a cgroup's
subhierarchy becomes empty so that it can be
On 2014/4/15 5:44, Tejun Heo wrote:
> cgroup users often need a way to determine when a cgroup's
> subhierarchy becomes empty so that it can be cleaned up. cgroup
> currently provides release_agent for it; unfortunately, this mechanism
> is riddled with issues.
>
> * It delivers events by
cgroup users often need a way to determine when a cgroup's
subhierarchy becomes empty so that it can be cleaned up. cgroup
currently provides release_agent for it; unfortunately, this mechanism
is riddled with issues.
* It delivers events by forking and execing a userland binary
specified as
On 2014/4/15 5:44, Tejun Heo wrote:
cgroup users often need a way to determine when a cgroup's
subhierarchy becomes empty so that it can be cleaned up. cgroup
currently provides release_agent for it; unfortunately, this mechanism
is riddled with issues.
* It delivers events by forking and
cgroup users often need a way to determine when a cgroup's
subhierarchy becomes empty so that it can be cleaned up. cgroup
currently provides release_agent for it; unfortunately, this mechanism
is riddled with issues.
* It delivers events by forking and execing a userland binary
specified as
> Ah, you're right, cgroup_task_migrate() sets CGRP_RELEASABLE
> explicitly. I was confused because put_css_set_locked() sets
> CGRP_RELEASABLE only if @taskexit is set. Will drop that part from
> the description.
>
"If the notify_on_release flag is enabled (1) in a cgroup, then
whenever the
Ah, you're right, cgroup_task_migrate() sets CGRP_RELEASABLE
explicitly. I was confused because put_css_set_locked() sets
CGRP_RELEASABLE only if @taskexit is set. Will drop that part from
the description.
If the notify_on_release flag is enabled (1) in a cgroup, then
whenever the last
Hello,
On Thu, Apr 10, 2014 at 09:04:24AM -0500, Serge Hallyn wrote:
> Except for the keeping state. If the userspace agent crashes when it
> was meant to drop 100 cgroups when they become empty, then when it
> restarts those 100 cgroups may never be freed. Of course userspace
> can do things
Quoting Tejun Heo (t...@kernel.org):
> Hey, Serge.
>
> On Thu, Apr 10, 2014 at 05:08:55AM +0200, Serge E. Hallyn wrote:
> > Quoting Tejun Heo (t...@kernel.org):
> > > * It delivers events by forking and execing a userland binary
> > > specified as the release_agent. This is a long deprecated
Hey, Serge.
On Thu, Apr 10, 2014 at 05:08:55AM +0200, Serge E. Hallyn wrote:
> Quoting Tejun Heo (t...@kernel.org):
> > * It delivers events by forking and execing a userland binary
> > specified as the release_agent. This is a long deprecated method of
> > notification delivery. It's
Hey, Serge.
On Thu, Apr 10, 2014 at 05:08:55AM +0200, Serge E. Hallyn wrote:
Quoting Tejun Heo (t...@kernel.org):
* It delivers events by forking and execing a userland binary
specified as the release_agent. This is a long deprecated method of
notification delivery. It's extremely
Quoting Tejun Heo (t...@kernel.org):
Hey, Serge.
On Thu, Apr 10, 2014 at 05:08:55AM +0200, Serge E. Hallyn wrote:
Quoting Tejun Heo (t...@kernel.org):
* It delivers events by forking and execing a userland binary
specified as the release_agent. This is a long deprecated method of
Hello,
On Thu, Apr 10, 2014 at 09:04:24AM -0500, Serge Hallyn wrote:
Except for the keeping state. If the userspace agent crashes when it
was meant to drop 100 cgroups when they become empty, then when it
restarts those 100 cgroups may never be freed. Of course userspace
can do things about
Quoting Tejun Heo (t...@kernel.org):
> cgroup users often need a way to determine when a cgroup's
> subhierarchy becomes empty so that it can be cleaned up. cgroup
> currently provides release_agent for it; unfortunately, this mechanism
> is riddled with issues.
Thanks, Tejun.
> * It delivers
cgroup users often need a way to determine when a cgroup's
subhierarchy becomes empty so that it can be cleaned up. cgroup
currently provides release_agent for it; unfortunately, this mechanism
is riddled with issues.
* It delivers events by forking and execing a userland binary
specified as
cgroup users often need a way to determine when a cgroup's
subhierarchy becomes empty so that it can be cleaned up. cgroup
currently provides release_agent for it; unfortunately, this mechanism
is riddled with issues.
* It delivers events by forking and execing a userland binary
specified as
Quoting Tejun Heo (t...@kernel.org):
cgroup users often need a way to determine when a cgroup's
subhierarchy becomes empty so that it can be cleaned up. cgroup
currently provides release_agent for it; unfortunately, this mechanism
is riddled with issues.
Thanks, Tejun.
* It delivers events
34 matches
Mail list logo