[lxc-devel] [lxc/lxc] 4288b7: start: ensure cgroups are cleaned up
GitHub
noreply at github.com
Sat Aug 5 03:15:42 UTC 2017
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 4288b79f23248e64f182bad5273e084b28680f69
https://github.com/lxc/lxc/commit/4288b79f23248e64f182bad5273e084b28680f69
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2017-08-03 (Thu, 03 Aug 2017)
Changed paths:
M src/lxc/start.c
Log Message:
-----------
start: ensure cgroups are cleaned up
When a container is marked as being in STOPPED state it is possible for another
thread to start it again even though not all cleanup operations for that
container have finished. This is not a problem for most things like sockets and
friends which are unique to the container. It is however a problem for cgroups
which are named after that container in that we cause our cgroup driver to
waste cpu cycles finding a new cgroup name.
Closes #1726.
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 332833712b96c05bfec2ce86e6fdd6f3cc4cc2da
https://github.com/lxc/lxc/commit/332833712b96c05bfec2ce86e6fdd6f3cc4cc2da
Author: Serge Hallyn <serge at hallyn.com>
Date: 2017-08-04 (Fri, 04 Aug 2017)
Changed paths:
M src/lxc/start.c
Log Message:
-----------
Merge pull request #1729 from brauner/2017-08-03/ensure_cgroup_cleanup_before_restart
start: ensure cgroups are cleaned up
Compare: https://github.com/lxc/lxc/compare/483efec8cab8...332833712b96
More information about the lxc-devel
mailing list