[Devel] Re: [PATCH 1/3] cgroup : add clone_children control file

Paul Menage menage at google.com
Tue Sep 7 14:22:50 PDT 2010

On Tue, Sep 7, 2010 at 2:13 PM, Daniel Lezcano <daniel.lezcano at free.fr> wrote:
> The clone_children option behaves like the release-agent mount option no ?

Not quite, since it can be controlled on a per-cgroup basis.

> We can mount with a specific release agent and change it at runtime. IMHO it
> would be better to give a chance to the administrator to set its system with
> the mount option instead of force him to write post mount scripts. An
> alternative would be to set this cgroup option *only* via the mount option,
> but I am not sure it is good as it may be an unresolvable constraint for a
> system wanting to use the cgroups with and without this option (same kind of
> constraint we have with the ns_cgroup).
> I am favorable to keep the mount option and the ability to change it for
> another cgroup.

OK, lets mostly keep the current patch, but lose the flag stored at
mount-time and just report the mount option based on the current value
of the root cgroup's flag.

Containers mailing list
Containers at lists.linux-foundation.org

More information about the Devel mailing list