diff options
author | Sverker Eriksson <sverker@erlang.org> | 2013-04-22 15:10:58 +0200 |
---|---|---|
committer | Sverker Eriksson <sverker@erlang.org> | 2013-06-03 14:24:23 +0200 |
commit | a14c1590740bb7233400178fa069d71e280f5c8b (patch) | |
tree | 38986e93a2156e0d466789278e71930720bb6123 /erts/emulator/beam/erl_bestfit_alloc.c | |
parent | 2fab1055580b4c5c00ef23db59b40a1b0b5a9acc (diff) | |
download | erlang-a14c1590740bb7233400178fa069d71e280f5c8b.tar.gz |
erts: Make carrier header sizes customizable
This is a modified partial revert of 2ab1d972f6fd37c17b05
Diffstat (limited to 'erts/emulator/beam/erl_bestfit_alloc.c')
-rw-r--r-- | erts/emulator/beam/erl_bestfit_alloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_bestfit_alloc.c b/erts/emulator/beam/erl_bestfit_alloc.c index e3fc8f4cb1..42c7c9bbe2 100644 --- a/erts/emulator/beam/erl_bestfit_alloc.c +++ b/erts/emulator/beam/erl_bestfit_alloc.c @@ -179,6 +179,7 @@ erts_bfalc_start(BFAllctr_t *bfallctr, bfallctr->address_order = bfinit->ao; + allctr->mbc_header_size = sizeof(Carrier_t); allctr->min_mbc_size = MIN_MBC_SZ; allctr->min_mbc_first_free_size = MIN_MBC_FIRST_FREE_SZ; allctr->min_block_size = (bfinit->ao |