extend the stack for hyper_container_init()

container_setup_modules() needs a large stack

Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
This commit is contained in:
Lai Jiangshan
2016-04-27 21:46:03 +08:00
parent 3fbba94a0f
commit ab1c293818
+1 -1
View File
@@ -652,7 +652,7 @@ static int hyper_setup_pty(struct hyper_container *c)
int hyper_start_container(struct hyper_container *container,
int utsns, int ipcns, struct hyper_pod *pod)
{
int stacksize = getpagesize() * 4;
int stacksize = getpagesize() * 42;
struct hyper_container_arg arg = {
.c = container,
.pod = pod,