diff options
author | Sverker Eriksson <[email protected]> | 2012-11-14 19:25:09 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2012-11-15 18:20:48 +0100 |
commit | 1ff4fffe893346160e5136a3e4a1999e8927b5ec (patch) | |
tree | c2f3e13ad5acbce2089ddf08366177a8a75c8936 /erts/emulator/sys/common/erl_mseg.h | |
parent | 51277f5dcf29a085dc478e560d3b92a438c8ae2f (diff) | |
download | otp-1ff4fffe893346160e5136a3e4a1999e8927b5ec.tar.gz otp-1ff4fffe893346160e5136a3e4a1999e8927b5ec.tar.bz2 otp-1ff4fffe893346160e5136a3e4a1999e8927b5ec.zip |
erts: Add carrier pointer to header of free block
Diffstat (limited to 'erts/emulator/sys/common/erl_mseg.h')
-rw-r--r-- | erts/emulator/sys/common/erl_mseg.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/erts/emulator/sys/common/erl_mseg.h b/erts/emulator/sys/common/erl_mseg.h index 91e335b225..f260c6506f 100644 --- a/erts/emulator/sys/common/erl_mseg.h +++ b/erts/emulator/sys/common/erl_mseg.h @@ -33,10 +33,14 @@ #if HAVE_MMAP # define HAVE_ERTS_MSEG 1 # define HAVE_SUPER_ALIGNED_MB_CARRIERS 1 -# define MSEG_ALIGN_BITS (17) /*SVERK Configure me! */ #else # define HAVE_ERTS_MSEG 0 # define HAVE_SUPER_ALIGNED_MB_CARRIERS 0 +#endif + +#if HAVE_SUPER_ALIGNED_MB_CARRIERS +# define MSEG_ALIGN_BITS (17) /*SVERK Configure me! */ +#else # define MSEG_ALIGN_BITS (12) /*SVERK Configure me! */ #endif |