diff options
author | Rickard Green <[email protected]> | 2013-11-25 09:11:53 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2013-11-25 09:11:53 +0100 |
commit | c8f3e4101497ea268f9dde227651e508f02eb90d (patch) | |
tree | c8fc234b6c37a6b6ff172071f48d4d423d4c5e02 | |
parent | f01eb9919311c6566d38c50625518d1b68aca73c (diff) | |
parent | c79eb97831b0f86f3c4237f51757a3aecce1c264 (diff) | |
download | otp-c8f3e4101497ea268f9dde227651e508f02eb90d.tar.gz otp-c8f3e4101497ea268f9dde227651e508f02eb90d.tar.bz2 otp-c8f3e4101497ea268f9dde227651e508f02eb90d.zip |
Merge branch 'maint'
* maint:
Ensure carrier pool only accessed by schedulers
-rw-r--r-- | erts/emulator/beam/erl_alloc_util.c | 2 |
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; |