[lxc-devel] [lxc/lxc] 6f9584: cgroup: improve isolcpus handling

GitHub noreply at github.com
Mon Nov 21 23:57:07 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 6f9584d885d1617188321c0d82731c86b543f2cf
      https://github.com/lxc/lxc/commit/6f9584d885d1617188321c0d82731c86b543f2cf
  Author: Christian Brauner <christian.brauner at canonical.com>
  Date:   2016-11-21 (Mon, 21 Nov 2016)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgroup: improve isolcpus handling

- add more logging
- only write to cpuset.cpus if we really have to
- simplify cleanup on error and success

Signed-off-by: Christian Brauner <christian.brauner at canonical.com>


  Commit: 65d29cbc57fccebdf553b01ba6e4694012d2469d
      https://github.com/lxc/lxc/commit/65d29cbc57fccebdf553b01ba6e4694012d2469d
  Author: Christian Brauner <christian.brauner at canonical.com>
  Date:   2016-11-21 (Mon, 21 Nov 2016)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgroups: handle non-existent isolcpus file

If the file "/sys/devices/system/cpu/isolated" doesn't exist, we can't just
simply bail. We still need to check whether we need to copy the parents cpu
settings.

Signed-off-by: Christian Brauner <christian.brauner at canonical.com>


  Commit: 995ea9411410741e830f4f9948d56dce4bbf2a0a
      https://github.com/lxc/lxc/commit/995ea9411410741e830f4f9948d56dce4bbf2a0a
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2016-11-21 (Mon, 21 Nov 2016)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  Merge pull request #1309 from brauner/2016-11-21/cgfsng_improve_isolcpus_handling

cgroup: improve isolcpus handling


Compare: https://github.com/lxc/lxc/compare/b8ca2bc7c9e0...995ea9411410


More information about the lxc-devel mailing list