diff options
author | Rickard Green <[email protected]> | 2017-04-11 17:25:49 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-04-11 17:25:49 +0200 |
commit | e2abc143613c83e00c7c2e22721d30fd2f6309a3 (patch) | |
tree | 2b50aba6a5f40a7ab4b4bed2eac458895b99a47b /erts | |
parent | 92a3b1a37182527d0bf8b6242d54e7fae6f4bbf9 (diff) | |
download | otp-e2abc143613c83e00c7c2e22721d30fd2f6309a3.tar.gz otp-e2abc143613c83e00c7c2e22721d30fd2f6309a3.tar.bz2 otp-e2abc143613c83e00c7c2e22721d30fd2f6309a3.zip |
Fix +SDPcpu
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/beam/erl_init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_init.c b/erts/emulator/beam/erl_init.c index 56c0f19230..541bfec532 100644 --- a/erts/emulator/beam/erl_init.c +++ b/erts/emulator/beam/erl_init.c @@ -1138,8 +1138,12 @@ early_init(int *argc, char **argv) /* } if (dirty_cpu_scheds > schdlrs) dirty_cpu_scheds = schdlrs; + if (dirty_cpu_scheds < 1) + dirty_cpu_scheds = 1; if (dirty_cpu_scheds_online > schdlrs_onln) dirty_cpu_scheds_online = schdlrs_onln; + if (dirty_cpu_scheds_online < 1) + dirty_cpu_scheds_online = 1; #endif } |