aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.h
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-04-11 19:15:05 +0200
committerRickard Green <[email protected]>2017-04-11 19:24:33 +0200
commitf0c4d095e0d9be054181785f5c9ca34b52aa2995 (patch)
tree1e86c860184546febb20f9b5628ba0f984f4c24c /erts/emulator/beam/erl_process.h
parent4da32ec432dd2dee0b19403bed21a836f1638549 (diff)
downloadotp-f0c4d095e0d9be054181785f5c9ca34b52aa2995.tar.gz
otp-f0c4d095e0d9be054181785f5c9ca34b52aa2995.tar.bz2
otp-f0c4d095e0d9be054181785f5c9ca34b52aa2995.zip
Suggested stack size options for dirty schedulers
Diffstat (limited to 'erts/emulator/beam/erl_process.h')
-rw-r--r--erts/emulator/beam/erl_process.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process.h b/erts/emulator/beam/erl_process.h
index 883d9f2a4c..408e9c4c45 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