mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-04 05:53:37 +00:00
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: Tycho Andersen <tycho@tycho.ws>
This commit is contained in:
parent
5e7b4b3c16
commit
3df90604ec
@ -42,7 +42,7 @@
|
||||
|
||||
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 ret;
|
||||
|
Loading…
Reference in New Issue
Block a user