]> git.ipfire.org Git - thirdparty/lxc.git/commit
cgroups: handle offline cpus in v1 hierarchy 3014/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 24 May 2019 13:59:57 +0000 (15:59 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 24 May 2019 13:59:57 +0000 (15:59 +0200)
commit36f7018103cd66cc16128b04200df15320472a54
tree79dac3e0ec7bba60e0b3a7b8c61becaaf3e31c82
parentc54cf53fadf4aa244c15b18b3ec7524bc8e3f0f1
cgroups: handle offline cpus in v1 hierarchy

Handle offline cpus in v1 hierarchy.

In addition to isolated cpus we also need to account for offline cpus when our
ancestor cgroup is the root cgroup and we have not been initialized yet.

Closes #2953.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c