aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-11-25 09:11:25 +0100
committerRickard Green <[email protected]>2013-11-25 09:11:25 +0100
commitc79eb97831b0f86f3c4237f51757a3aecce1c264 (patch)
treee6ddd70a076c61287003f47312802d2ae68cfe15 /erts/emulator
parente6b3e1499677fa0aff83e0416ea9a58ffab95210 (diff)
parentfb3aaa41a046e317609c39c9b8281263a250ef2f (diff)
downloadotp-c79eb97831b0f86f3c4237f51757a3aecce1c264.tar.gz
otp-c79eb97831b0f86f3c4237f51757a3aecce1c264.tar.bz2
otp-c79eb97831b0f86f3c4237f51757a3aecce1c264.zip
Merge branch 'rickard/acul-bug/OTP-11456' into maint
* rickard/acul-bug/OTP-11456: Ensure carrier pool only accessed by schedulers
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/erl_alloc_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_alloc_util.c b/erts/emulator/beam/erl_alloc_util.c
index b0fc653f32..9dce7f6505 100644
--- a/erts/emulator/beam/erl_alloc_util.c
+++ b/erts/emulator/beam/erl_alloc_util.c
@@ -5522,7 +5522,7 @@ erts_alcu_start(Allctr_t *allctr, AllctrInit_t *init)
erts_atomic_init_nob(&allctr->cpool.stat.carriers_size, 0);
erts_atomic_init_nob(&allctr->cpool.stat.no_carriers, 0);
allctr->cpool.check_limit_count = ERTS_ALC_CPOOL_CHECK_LIMIT_COUNT;
- allctr->cpool.util_limit = init->acul;
+ allctr->cpool.util_limit = init->ts ? 0 : init->acul;
#endif
allctr->sbc_threshold = init->sbct;