From: Christian Brauner Date: Wed, 3 Jul 2019 15:57:48 +0000 (+0200) Subject: cgroups: hande cpuset initialization race X-Git-Tag: lxc-3.2.0~15^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3075%2Fhead;p=thirdparty%2Flxc.git cgroups: hande cpuset initialization race Signed-off-by: Christian Brauner --- diff --git a/src/lxc/cgroups/cgfsng.c b/src/lxc/cgroups/cgfsng.c index 619727267..87e12d2dd 100644 --- a/src/lxc/cgroups/cgfsng.c +++ b/src/lxc/cgroups/cgfsng.c @@ -612,10 +612,8 @@ static bool cg_legacy_handle_cpuset_hierarchy(struct hierarchy *h, char *cgname) } /* Already set for us by someone else. */ - if (v == '1') { - DEBUG("\"cgroup.clone_children\" was already set to \"1\""); - return true; - } + if (v == '1') + TRACE("\"cgroup.clone_children\" was already set to \"1\""); /* copy parent's settings */ if (!copy_parent_file(cgpath, "cpuset.mems")) {