aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_alloc.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-09-11 16:40:56 +0200
committerSverker Eriksson <[email protected]>2015-09-11 16:40:56 +0200
commit34e1b675f95d0837823b794f3440300806f7ef88 (patch)
tree6de2842e9712b45564e3d93b0bfe56b84320f0ae /erts/emulator/beam/erl_alloc.c
parent997881b9046d3468685c545dc917e8204e0a9ef6 (diff)
downloadotp-34e1b675f95d0837823b794f3440300806f7ef88.tar.gz
otp-34e1b675f95d0837823b794f3440300806f7ef88.tar.bz2
otp-34e1b675f95d0837823b794f3440300806f7ef88.zip
erts: Cleanup main carrier creation
and remove that magic "-40" from default mmbcs for ll_alloc
Diffstat (limited to 'erts/emulator/beam/erl_alloc.c')
-rw-r--r--erts/emulator/beam/erl_alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_alloc.c b/erts/emulator/beam/erl_alloc.c
index d68f22d573..70d5357e27 100644
--- a/erts/emulator/beam/erl_alloc.c
+++ b/erts/emulator/beam/erl_alloc.c
@@ -272,9 +272,9 @@ set_default_ll_alloc_opts(struct au_init *ip)
ip->init.util.name_prefix = "ll_";
ip->init.util.alloc_no = ERTS_ALC_A_LONG_LIVED;
#ifndef SMALL_MEMORY
- ip->init.util.mmbcs = 2*1024*1024 - 40; /* Main carrier size */
+ ip->init.util.mmbcs = 2*1024*1024; /* Main carrier size */
#else
- ip->init.util.mmbcs = 1*1024*1024 - 40; /* Main carrier size */
+ ip->init.util.mmbcs = 1*1024*1024; /* Main carrier size */
#endif
ip->init.util.ts = ERTS_ALC_MTA_LONG_LIVED;
ip->init.util.asbcst = 0;