diff options
author | John Högberg <[email protected]> | 2017-10-25 08:52:04 +0200 |
---|---|---|
committer | John Högberg <[email protected]> | 2017-10-25 08:52:04 +0200 |
commit | c26f0e58f440859abbfb9b4e3570713ac722e0da (patch) | |
tree | 6bcbc29c8f4501c05a598262787ef06fb5a7666c /erts/emulator/beam/erl_cpu_topology.c | |
parent | 541ee20b9eaefed7802f08cecddfbd12e5f3b516 (diff) | |
parent | a98379d0519c28f9bc9b673ed2c09fb1ad52456e (diff) | |
download | otp-c26f0e58f440859abbfb9b4e3570713ac722e0da.tar.gz otp-c26f0e58f440859abbfb9b4e3570713ac722e0da.tar.bz2 otp-c26f0e58f440859abbfb9b4e3570713ac722e0da.zip |
Merge branch 'maint-20' into maint
* maint-20:
Updated OTP version
Update release notes
Update version numbers
erts: Fix so that bind correct schedulers
Update version
Fix error handling when decoding an AVP with an alternate dictionary
Remove unused function arguments
Fix faulty recursion
vsn -> 2.1.2
Update appup for ERIERL-14684
Fix speling error 'sndbuf' -> 'recbuf'
Add zlib:set_controlling_process/2
Diffstat (limited to 'erts/emulator/beam/erl_cpu_topology.c')
-rw-r--r-- | erts/emulator/beam/erl_cpu_topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_cpu_topology.c b/erts/emulator/beam/erl_cpu_topology.c index f8b2fa744f..dfe49ce382 100644 --- a/erts/emulator/beam/erl_cpu_topology.c +++ b/erts/emulator/beam/erl_cpu_topology.c @@ -608,7 +608,7 @@ write_schedulers_bind_change(erts_cpu_topology_t *cpudata, int size) cpu_bind_order_sort(cpudata, size, cpu_bind_order, 1); - for (cpu_ix = 0; cpu_ix < size && cpu_ix < erts_no_schedulers; cpu_ix++) + for (cpu_ix = 0; cpu_ix < size && s_ix <= erts_no_schedulers; cpu_ix++) if (erts_is_cpu_available(cpuinfo, cpudata[cpu_ix].logical)) scheduler2cpu_map[s_ix++].bind_id = cpudata[cpu_ix].logical; } |