Commit 20c3bf10 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

restore: 32k of stack memory is enough

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
parent 099c9c00
...@@ -1097,7 +1097,7 @@ static int do_child(void *arg) ...@@ -1097,7 +1097,7 @@ static int do_child(void *arg)
static inline int fork_with_pid(int pid, char *pstree_path) static inline int fork_with_pid(int pid, char *pstree_path)
{ {
const int stack_size = 128 << 10; const int stack_size = 32 << 10;
int ret = 0; int ret = 0;
void *stack; void *stack;
......
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