Unverified Commit 58744241 by Tycho Andersen Committed by Christian Brauner

lxc_clone: bump stack size to 8MB

This is the default thread size for glibc, so it is reasonable to match that when we clone(). Mostly this is a science experiment suggested by brauner, and who doesn't love science? Signed-off-by: 's avatarTycho Andersen <tycho@tycho.ws>
parent 0b96d4ab
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
lxc_log_define(namespace, lxc); lxc_log_define(namespace, lxc);
#define __LXC_STACK_SIZE 4096 #define __LXC_STACK_SIZE (8 * 1024 * 1024)
pid_t lxc_clone(int (*fn)(void *), void *arg, int flags, int *pidfd) pid_t lxc_clone(int (*fn)(void *), void *arg, int flags, int *pidfd)
{ {
pid_t ret; pid_t ret;
......
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