Unverified Commit 113ca429 by Stéphane Graber Committed by GitHub

Merge pull request #3075 from brauner/2019-07-03/cgroups

cgroups: hande cpuset initialization race
parents 0f03b155 b28c2810
...@@ -612,10 +612,8 @@ static bool cg_legacy_handle_cpuset_hierarchy(struct hierarchy *h, char *cgname) ...@@ -612,10 +612,8 @@ static bool cg_legacy_handle_cpuset_hierarchy(struct hierarchy *h, char *cgname)
} }
/* Already set for us by someone else. */ /* Already set for us by someone else. */
if (v == '1') { if (v == '1')
DEBUG("\"cgroup.clone_children\" was already set to \"1\""); TRACE("\"cgroup.clone_children\" was already set to \"1\"");
return true;
}
/* copy parent's settings */ /* copy parent's settings */
if (!copy_parent_file(cgpath, "cpuset.mems")) { if (!copy_parent_file(cgpath, "cpuset.mems")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment