diff options
author | Sverker Eriksson <[email protected]> | 2012-12-04 17:57:51 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2012-12-14 15:12:59 +0100 |
commit | 0fb68ef1f8c7f44c6f7edc1cc461d2b598b96fd9 (patch) | |
tree | ce092b1f446a5325b1789424956f34ae00d92868 /erts/emulator | |
parent | 6c95e5c7bc376a2b04cdd9b23d0441fa9bee9e78 (diff) | |
download | otp-0fb68ef1f8c7f44c6f7edc1cc461d2b598b96fd9.tar.gz otp-0fb68ef1f8c7f44c6f7edc1cc461d2b598b96fd9.tar.bz2 otp-0fb68ef1f8c7f44c6f7edc1cc461d2b598b96fd9.zip |
erts: Set super alignment (256kb) and limits for sbct (8Mb) and lmbcs (128Mb)
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/beam/erl_alloc_util.h | 3 | ||||
-rw-r--r-- | erts/emulator/sys/common/erl_mseg.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_alloc_util.h b/erts/emulator/beam/erl_alloc_util.h index 423bb0517e..e0754e7f69 100644 --- a/erts/emulator/beam/erl_alloc_util.h +++ b/erts/emulator/beam/erl_alloc_util.h @@ -226,7 +226,8 @@ erts_aint32_t erts_alcu_fix_alloc_shrink(Allctr_t *, erts_aint32_t); # ifdef ARCH_64 # define MBC_ABLK_OFFSET_BITS 24 # elif HAVE_SUPER_ALIGNED_MB_CARRIERS -# define MBC_ABLK_OFFSET_BITS 13 +# define MBC_ABLK_OFFSET_BITS 9 + /* Affects hard limits for sbct and lmbcs documented in erts_alloc.xml */ # endif #endif #ifndef MBC_ABLK_OFFSET_BITS diff --git a/erts/emulator/sys/common/erl_mseg.h b/erts/emulator/sys/common/erl_mseg.h index 8f8cb0e121..6f373f13f9 100644 --- a/erts/emulator/sys/common/erl_mseg.h +++ b/erts/emulator/sys/common/erl_mseg.h @@ -39,7 +39,8 @@ #endif #if HAVE_SUPER_ALIGNED_MB_CARRIERS -# define MSEG_ALIGN_BITS (17) +# define MSEG_ALIGN_BITS (18) + /* Affects hard limits for sbct and lmbcs documented in erts_alloc.xml */ #else /* If we don't use super aligned multiblock carriers * we will mmap with page size alignment (and thus use corresponding |