[lxc-devel] [lxc/lxc] 3e376e: cgmanager: drop the cgm_supports_multiple_controll...

GitHub noreply at github.com
Wed Jan 13 18:07:10 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 3e376eee6a71b3357c4614c42577c4d9fc87a33a
      https://github.com/lxc/lxc/commit/3e376eee6a71b3357c4614c42577c4d9fc87a33a
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2016-01-13 (Wed, 13 Jan 2016)

  Changed paths:
    M src/lxc/cgmanager.c

  Log Message:
  -----------
  cgmanager: drop the cgm_supports_multiple_controllers bool

What we want is to make sure we dont' use controller 'all' if cgmanager
doesn't support, if all our cgroups aren't the same, or if we cannot
controll all our cgroups.  We were mixing some of these conditions.  Use
cgm_all_controllers_same for all.  (Might want to rename it, but we want
to stick with just one).

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>




More information about the lxc-devel mailing list