From: Tycho Andersen Date: Wed, 29 May 2019 15:36:51 +0000 (-0600) Subject: lxc_clone: add a comment about stack size X-Git-Tag: lxc-3.2.0~43^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edb808d1301c81d6b0a2747dffa6a7019ff20de8;p=thirdparty%2Flxc.git lxc_clone: add a comment about stack size Signed-off-by: Tycho Andersen --- diff --git a/src/lxc/namespace.c b/src/lxc/namespace.c index 4ede96f2f..be47b229e 100644 --- a/src/lxc/namespace.c +++ b/src/lxc/namespace.c @@ -42,6 +42,10 @@ 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) {