From: Li Zefan <lizefan@huawei.com>
To: Tejun Heo <tj@kernel.org>
Cc: Serge Hallyn <serge.hallyn@ubuntu.com>,
"Serge E. Hallyn" <serge@hallyn.com>,
<gregkh@linuxfoundation.org>, <rlove@rlove.org>,
<containers@lists.linux-foundation.org>, <kay@vrfy.org>,
<linux-kernel@vger.kernel.org>, <lennart@poettering.net>,
<cgroups@vger.kernel.org>, <eparis@parisplace.org>,
<john@johnmccutchan.com>
Subject: Re: [PATCH 3/3] cgroup: implement cgroup.subtree_populated for the default hierarchy
Date: Fri, 11 Apr 2014 17:00:51 +0800 [thread overview]
Message-ID: <5347AF43.9000108@huawei.com> (raw)
In-Reply-To: <20140410141957.GE25308@htj.dyndns.org>
> 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 task in the cgroup leaves (exits or attaches to
some other cgroup) and the last child cgroup of that cgroup
is removed, then the kernel runs the command specified by the contents
of the "release_agent" file"
says cgroups.txt. :)
next prev parent reply other threads:[~2014-04-11 9:02 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-09 15:07 [PATCHSET cgroup/for-3.16] cgroup: implement cgroup.populated Tejun Heo
2014-04-09 15:07 ` [PATCH 1/3] kernfs: implement kernfs_root->supers list Tejun Heo
2014-04-09 15:07 ` [PATCH 2/3] kernfs: make kernfs_notify() trigger inotify events too Tejun Heo
2014-04-09 15:07 ` [PATCH 3/3] cgroup: implement cgroup.subtree_populated for the default hierarchy Tejun Heo
2014-04-10 3:08 ` Serge E. Hallyn
2014-04-10 13:08 ` Tejun Heo
2014-04-10 14:04 ` Serge Hallyn
2014-04-10 14:19 ` Tejun Heo
2014-04-11 9:00 ` Li Zefan [this message]
2014-04-14 21:31 ` [PATCHSET cgroup/for-3.16] cgroup: implement cgroup.populated Tejun Heo
2014-04-14 22:26 ` Greg KH
2014-04-15 16:18 ` Tejun Heo
2014-04-23 15:16 ` Tejun Heo
2014-04-25 18:57 ` Greg KH
2014-04-25 22:30 ` Tejun Heo
-- strict thread matches above, loose matches on Subject: below --
2014-04-14 21:44 [PATCHSET cgroup/for-3.16] cgroup: implement cgroup.populated, v2 Tejun Heo
2014-04-14 21:44 ` [PATCH 3/3] cgroup: implement cgroup.subtree_populated for the default hierarchy Tejun Heo
2014-04-15 0:57 ` Li Zefan
2014-04-15 14:54 ` Tejun Heo
2014-04-15 16:52 ` Tejun Heo
2014-04-16 1:30 ` Li Zefan
2014-04-16 2:48 ` Li Zefan
2014-04-16 3:33 ` Kay Sievers
2014-04-16 3:50 ` Eric W. Biederman
2014-04-16 4:15 ` Kay Sievers
2014-04-16 4:20 ` Li Zefan
2014-04-16 4:16 ` Li Zefan
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=5347AF43.9000108@huawei.com \
--to=lizefan@huawei.com \
--cc=cgroups@vger.kernel.org \
--cc=containers@lists.linux-foundation.org \
--cc=eparis@parisplace.org \
--cc=gregkh@linuxfoundation.org \
--cc=john@johnmccutchan.com \
--cc=kay@vrfy.org \
--cc=lennart@poettering.net \
--cc=linux-kernel@vger.kernel.org \
--cc=rlove@rlove.org \
--cc=serge.hallyn@ubuntu.com \
--cc=serge@hallyn.com \
--cc=tj@kernel.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