The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/3018

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Tycho Andersen <ty...@tycho.ws>
From edb808d1301c81d6b0a2747dffa6a7019ff20de8 Mon Sep 17 00:00:00 2001
From: Tycho Andersen <ty...@tycho.ws>
Date: Wed, 29 May 2019 09:36:51 -0600
Subject: [PATCH] lxc_clone: add a comment about stack size

Signed-off-by: Tycho Andersen <ty...@tycho.ws>
---
 src/lxc/namespace.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lxc/namespace.c b/src/lxc/namespace.c
index 4ede96f2fa..be47b229ec 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)
 {
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to