Quoting Stéphane Graber ([email protected]):
> On Wed, Jan 22, 2014 at 10:49:00AM -0600, Serge Hallyn wrote:
> > When creating a cgroup, detect whether cgroup.clone_children
> > exists.  If not, then manually copy the parent's cpuset.cpus
> > and cpuset.mems values.
> > 
> > Signed-off-by: Serge Hallyn <[email protected]>
> 
> 
> We may want to go through our list of helper functions and
> merge/relocate some of those to utils.h as I'm suspecting it's not the
> first time we neded those particular ones.

FWIW I actually cut-pasted those from a revert from the last
time lxc did this.  Note that file_exists here acts differently
from others :)  Probably should come up with a different name
for it, then put it and set_value and get_value into utils.c.

-serge
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to