Unverified Commit 3e8a11cb by Christian Brauner Committed by GitHub

Merge pull request #3018 from tych0/comment-stack-size

lxc_clone: add a comment about stack size
parents 18a405ee edb808d1
...@@ -42,6 +42,10 @@ ...@@ -42,6 +42,10 @@
lxc_log_define(namespace, lxc); 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) #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)
{ {
......
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