Commit e3eaf90e authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

parasite: Increase stack size up to 16K

In commit 97cfb707 we extended scm_fdset structure
up to 7K thus we need to increase the parasite stack
size enough to hold it. It was not noticed simply because
we were poking arguments area of memory.

The memory map of args and stack for parasite look like

  +-----------+   min address
  |           | |
  | arguments | v (8K)
  |           |
  +-----------+
  |           |
  |   stack   | ^ (16K)
  |           | |
  +-----------+   max address
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent a3c6869c
#ifndef CR_PARASITE_H_ #ifndef CR_PARASITE_H_
#define CR_PARASITE_H_ #define CR_PARASITE_H_
#define PARASITE_STACK_SIZE 2048 #define PARASITE_STACK_SIZE (16 << 10)
#define PARASITE_ARG_SIZE 8196 #define PARASITE_ARG_SIZE 8196
#define PARASITE_MAX_SIZE (64 << 10) #define PARASITE_MAX_SIZE (64 << 10)
......
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