summaryrefslogtreecommitdiff
path: root/erts/emulator/beam/erl_goodfit_alloc.c
diff options
context:
space:
mode:
authorSverker Eriksson <sverker@erlang.org>2013-04-22 15:10:58 +0200
committerSverker Eriksson <sverker@erlang.org>2013-06-03 14:24:23 +0200
commita14c1590740bb7233400178fa069d71e280f5c8b (patch)
tree38986e93a2156e0d466789278e71930720bb6123 /erts/emulator/beam/erl_goodfit_alloc.c
parent2fab1055580b4c5c00ef23db59b40a1b0b5a9acc (diff)
downloaderlang-a14c1590740bb7233400178fa069d71e280f5c8b.tar.gz
erts: Make carrier header sizes customizable
This is a modified partial revert of 2ab1d972f6fd37c17b05
Diffstat (limited to 'erts/emulator/beam/erl_goodfit_alloc.c')
-rw-r--r--erts/emulator/beam/erl_goodfit_alloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_goodfit_alloc.c b/erts/emulator/beam/erl_goodfit_alloc.c
index 79d8b40f8c..fce443c101 100644
--- a/erts/emulator/beam/erl_goodfit_alloc.c
+++ b/erts/emulator/beam/erl_goodfit_alloc.c
@@ -205,6 +205,7 @@ erts_gfalc_start(GFAllctr_t *gfallctr,
init->sbmbct = 0; /* Small mbc not yet supported by goodfit */
+ 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 = sizeof(GFFreeBlock_t);