From a14c1590740bb7233400178fa069d71e280f5c8b Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Mon, 22 Apr 2013 15:10:58 +0200 Subject: erts: Make carrier header sizes customizable This is a modified partial revert of 2ab1d972f6fd37c17b05 --- erts/emulator/beam/erl_afit_alloc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'erts/emulator/beam/erl_afit_alloc.c') diff --git a/erts/emulator/beam/erl_afit_alloc.c b/erts/emulator/beam/erl_afit_alloc.c index b45201af42..d03d6a591c 100644 --- a/erts/emulator/beam/erl_afit_alloc.c +++ b/erts/emulator/beam/erl_afit_alloc.c @@ -86,6 +86,7 @@ erts_afalc_start(AFAllctr_t *afallctr, init->sbmbct = 0; /* Small mbc not supported by afit */ + 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(AFFreeBlock_t); -- cgit v1.2.3