Increase stack size of userspace threads to 32k.

Certain fuse tests crashed inside of libc calls such as fprintf() with
only 16k of stack.

Signed-off-by: Justin Husted <sigstop@gmail.com>
This commit is contained in:
Justin Husted 2019-12-14 16:25:05 -08:00
parent f712a866a4
commit d0b5ee0339

View File

@ -76,7 +76,7 @@ struct task_struct *kthread_create(int (*thread_fn)(void *data),
pthread_attr_t attr;
pthread_attr_init(&attr);
pthread_attr_setstacksize(&attr, 16 << 10);
pthread_attr_setstacksize(&attr, 32 << 10);
ret = pthread_create(&p->thread, &attr, kthread_start_fn, p);
if (ret)