mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
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:
parent
f712a866a4
commit
d0b5ee0339
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user