[lxc-devel] [lxc/lxc] 0a4d93: cgroupfs: support older kernels without cgroup.clo...

GitHub noreply at github.com
Thu Jan 23 01:01:57 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 0a4d93787d4be78dc5e2873cf7c605c01d383792
      https://github.com/lxc/lxc/commit/0a4d93787d4be78dc5e2873cf7c605c01d383792
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-01-22 (Wed, 22 Jan 2014)

  Changed paths:
    M src/lxc/cgroup.c

  Log Message:
  -----------
  cgroupfs: support older kernels without cgroup.clone_children

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 <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>




More information about the lxc-devel mailing list