Re: [PATCH 3/3] cgroup: implement cgroup.subtree_populated for the default hierarchy
From: Li Zefan
Date: Fri Apr 11 2014 - 05:02:31 EST
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/