mirror of
git://github.com/lxc/lxc
synced 2025-09-04 04:09:30 +00:00
start: use barrier instead of wake/wait pair
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
@@ -1751,10 +1751,7 @@ static int lxc_spawn(struct lxc_handler *handler)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!lxc_sync_wake_child(handler, START_SYNC_STARTUP))
|
if (!lxc_sync_barrier_child(handler, START_SYNC_STARTUP))
|
||||||
goto out_delete_net;
|
|
||||||
|
|
||||||
if (!lxc_sync_wait_child(handler, START_SYNC_CONFIGURE))
|
|
||||||
goto out_delete_net;
|
goto out_delete_net;
|
||||||
|
|
||||||
if (!cgroup_ops->setup_limits_legacy(cgroup_ops, handler->conf, false)) {
|
if (!cgroup_ops->setup_limits_legacy(cgroup_ops, handler->conf, false)) {
|
||||||
|
Reference in New Issue
Block a user