[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5347AF43.9000108@huawei.com>
Date: Fri, 11 Apr 2014 17:00:51 +0800
From: Li Zefan <lizefan@...wei.com>
To: Tejun Heo <tj@...nel.org>
CC: Serge Hallyn <serge.hallyn@...ntu.com>,
"Serge E. Hallyn" <serge@...lyn.com>, <gregkh@...uxfoundation.org>,
<rlove@...ve.org>, <containers@...ts.linux-foundation.org>,
<kay@...y.org>, <linux-kernel@...r.kernel.org>,
<lennart@...ttering.net>, <cgroups@...r.kernel.org>,
<eparis@...isplace.org>, <john@...nmccutchan.com>
Subject: Re: [PATCH 3/3] cgroup: implement cgroup.subtree_populated for the
default hierarchy
> 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. :)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists