aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/common/erl_mseg.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2011-01-11 11:49:06 +0100
committerSverker Eriksson <[email protected]>2011-02-03 17:33:44 +0100
commit9153527f9808b4b6fcd2080f2cb8558015dfaeed (patch)
tree985fa8954dd9b4bd70b84c4f16b7f6c4f8e434d2 /erts/emulator/sys/common/erl_mseg.c
parent0b09ffabadd38bd2d0fa9cfa735542defc380efc (diff)
downloadotp-9153527f9808b4b6fcd2080f2cb8558015dfaeed.tar.gz
otp-9153527f9808b4b6fcd2080f2cb8558015dfaeed.tar.bz2
otp-9153527f9808b4b6fcd2080f2cb8558015dfaeed.zip
HALFWORD Make more allocators use high mem (binary, fixed and driver)
Diffstat (limited to 'erts/emulator/sys/common/erl_mseg.c')
-rw-r--r--erts/emulator/sys/common/erl_mseg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/erts/emulator/sys/common/erl_mseg.c b/erts/emulator/sys/common/erl_mseg.c
index 68c62ca8e1..b46c6263a0 100644
--- a/erts/emulator/sys/common/erl_mseg.c
+++ b/erts/emulator/sys/common/erl_mseg.c
@@ -602,8 +602,9 @@ static ERTS_INLINE MemKind* type2mk(ErtsAlcType_t atype)
#if HALFWORD_HEAP
switch (atype) {
case ERTS_ALC_A_ETS:
- //case ERTS_ALC_A_BINARY:
- //case ERTS_ALC_A_FIXED_SIZE:
+ case ERTS_ALC_A_BINARY:
+ case ERTS_ALC_A_FIXED_SIZE:
+ case ERTS_ALC_A_DRIVER:
return &hi_mem;
default:
return &low_mem;