diff options
author | Rickard Green <[email protected]> | 2017-04-27 15:58:09 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-04-27 15:58:09 +0200 |
commit | d84d675754028dd99f418eb1db3d0b5b347bfca8 (patch) | |
tree | ec04b260e413c99feb026aa655e54a8a8181fd81 /erts/emulator/beam/erl_process.h | |
parent | 0a76c2bae9af8bf7fa9fc607686b78fbc5e4faba (diff) | |
parent | f0c4d095e0d9be054181785f5c9ca34b52aa2995 (diff) | |
download | otp-d84d675754028dd99f418eb1db3d0b5b347bfca8.tar.gz otp-d84d675754028dd99f418eb1db3d0b5b347bfca8.tar.bz2 otp-d84d675754028dd99f418eb1db3d0b5b347bfca8.zip |
Merge branch 'rickard/ds-stack-size'
OTP-14380
* rickard/ds-stack-size:
Suggested stack size options for dirty schedulers
Diffstat (limited to 'erts/emulator/beam/erl_process.h')
-rw-r--r-- | erts/emulator/beam/erl_process.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process.h b/erts/emulator/beam/erl_process.h index b21597d63b..5b35dc3c78 100644 --- a/erts/emulator/beam/erl_process.h +++ b/erts/emulator/beam/erl_process.h @@ -117,7 +117,11 @@ extern Uint erts_no_dirty_io_schedulers; #endif extern Uint erts_no_run_queues; extern int erts_sched_thread_suggested_stack_size; -#define ERTS_SCHED_THREAD_MIN_STACK_SIZE 4 /* Kilo words */ +#ifdef ERTS_DIRTY_SCHEDULERS +extern int erts_dcpu_sched_thread_suggested_stack_size; +extern int erts_dio_sched_thread_suggested_stack_size; +#endif +#define ERTS_SCHED_THREAD_MIN_STACK_SIZE 20 /* Kilo words */ #define ERTS_SCHED_THREAD_MAX_STACK_SIZE 8192 /* Kilo words */ #ifdef ERTS_SMP |