VFS/libblockdriver: enlarge threads stacks for ASR
Change-Id: If4e858bc2dbb2c69850cd265ff612bd5a6119bd3
This commit is contained in:
parent
f55e3cae08
commit
ef52a26bab
@ -2,7 +2,11 @@
|
|||||||
#define _BLOCKDRIVER_CONST_H
|
#define _BLOCKDRIVER_CONST_H
|
||||||
|
|
||||||
/* Thread stack size. */
|
/* Thread stack size. */
|
||||||
|
#ifdef _MINIX_MAGIC
|
||||||
|
#define STACK_SIZE 32768
|
||||||
|
#else
|
||||||
#define STACK_SIZE 8192
|
#define STACK_SIZE 8192
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Maximum number of devices supported. */
|
/* Maximum number of devices supported. */
|
||||||
#define MAX_DEVICES BLOCKDRIVER_MAX_DEVICES
|
#define MAX_DEVICES BLOCKDRIVER_MAX_DEVICES
|
||||||
|
@ -11,7 +11,9 @@ static unsigned int pending;
|
|||||||
static unsigned int busy;
|
static unsigned int busy;
|
||||||
static int block_all;
|
static int block_all;
|
||||||
|
|
||||||
#ifdef MKCOVERAGE
|
#if defined(_MINIX_MAGIC)
|
||||||
|
# define TH_STACKSIZE (64 * 1024)
|
||||||
|
#elif defined(MKCOVERAGE)
|
||||||
# define TH_STACKSIZE (40 * 1024)
|
# define TH_STACKSIZE (40 * 1024)
|
||||||
#else
|
#else
|
||||||
# define TH_STACKSIZE (28 * 1024)
|
# define TH_STACKSIZE (28 * 1024)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user