aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_ao_firstfit_alloc.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-04-22 15:10:58 +0200
committerSverker Eriksson <[email protected]>2013-06-03 14:24:23 +0200
commita14c1590740bb7233400178fa069d71e280f5c8b (patch)
tree38986e93a2156e0d466789278e71930720bb6123 /erts/emulator/beam/erl_ao_firstfit_alloc.c
parent2fab1055580b4c5c00ef23db59b40a1b0b5a9acc (diff)
downloadotp-a14c1590740bb7233400178fa069d71e280f5c8b.tar.gz
otp-a14c1590740bb7233400178fa069d71e280f5c8b.tar.bz2
otp-a14c1590740bb7233400178fa069d71e280f5c8b.zip
erts: Make carrier header sizes customizable
This is a modified partial revert of 2ab1d972f6fd37c17b05
Diffstat (limited to 'erts/emulator/beam/erl_ao_firstfit_alloc.c')
-rw-r--r--erts/emulator/beam/erl_ao_firstfit_alloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_ao_firstfit_alloc.c b/erts/emulator/beam/erl_ao_firstfit_alloc.c
index e277006e58..1570daf90e 100644
--- a/erts/emulator/beam/erl_ao_firstfit_alloc.c
+++ b/erts/emulator/beam/erl_ao_firstfit_alloc.c
@@ -216,6 +216,7 @@ erts_aoffalc_start(AOFFAllctr_t *alc,
sys_memcpy((void *) alc, (void *) &zero.allctr, sizeof(AOFFAllctr_t));
alc->bf_within_carrier = aoffinit->bf_within_carrier;
+ 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(AOFF_RBTree_t);