Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
113ca429
Unverified
Commit
113ca429
authored
Jul 03, 2019
by
Stéphane Graber
Committed by
GitHub
Jul 03, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3075 from brauner/2019-07-03/cgroups
cgroups: hande cpuset initialization race
parents
0f03b155
b28c2810
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
cgfsng.c
src/lxc/cgroups/cgfsng.c
+2
-4
No files found.
src/lxc/cgroups/cgfsng.c
View file @
113ca429
...
@@ -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"
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment