]> git.proxmox.com Git - mirror_lxc.git/commitdiff
lxc_clone: add a comment about stack size
authorTycho Andersen <tycho@tycho.ws>
Wed, 29 May 2019 15:36:51 +0000 (09:36 -0600)
committerTycho Andersen <tycho@tycho.ws>
Wed, 29 May 2019 15:36:51 +0000 (09:36 -0600)
Signed-off-by: Tycho Andersen <tycho@tycho.ws>
src/lxc/namespace.c

index 4ede96f2fa468d97f69afeca809f32a0fede1449..be47b229ecd0243442ddbcde6c7b363ea5599f12 100644 (file)
 
 lxc_log_define(namespace, lxc);
 
+/*
+ * Let's use the "standard stack limit" (i.e. glibc thread size default) for
+ * stack sizes: 8MB.
+ */
 #define __LXC_STACK_SIZE (8 * 1024 * 1024)
 pid_t lxc_clone(int (*fn)(void *), void *arg, int flags, int *pidfd)
 {