diff options
author | Rickard Green <[email protected]> | 2013-11-25 09:05:20 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2013-11-25 09:05:20 +0100 |
commit | e6b3e1499677fa0aff83e0416ea9a58ffab95210 (patch) | |
tree | 9be1684ea3e10c2afbc3176aa0a903ff88a5e10a /erts/emulator/beam/erl_alloc_util.h | |
parent | bfb832589ea4d5c60db202459beab102768341ff (diff) | |
parent | 6cd261deb5fec413eb196b620a4618cfa0781458 (diff) | |
download | otp-e6b3e1499677fa0aff83e0416ea9a58ffab95210.tar.gz otp-e6b3e1499677fa0aff83e0416ea9a58ffab95210.tar.bz2 otp-e6b3e1499677fa0aff83e0416ea9a58ffab95210.zip |
Merge branch 'rickard/supercarrier-fix/OTP-11149' into maint
* rickard/supercarrier-fix/OTP-11149:
Fix observer retrieval of alloc info
Fix documentation of the +MMsco switch
Replace the +MMscmgc switch with +MMscrfsd
Add switch for disabling sys_alloc carriers
Add support for locking mappings to physical memory
Diffstat (limited to 'erts/emulator/beam/erl_alloc_util.h')
-rw-r--r-- | erts/emulator/beam/erl_alloc_util.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_alloc_util.h b/erts/emulator/beam/erl_alloc_util.h index 222f137024..7be6b1ed9d 100644 --- a/erts/emulator/beam/erl_alloc_util.h +++ b/erts/emulator/beam/erl_alloc_util.h @@ -32,6 +32,7 @@ typedef struct Allctr_t_ Allctr_t; typedef struct { UWord ycs; UWord mmc; + int sac; } AlcUInit_t; typedef struct { @@ -75,7 +76,8 @@ typedef struct { #define ERTS_DEFAULT_ALCU_INIT { \ 1024*1024, /* (bytes) ycs: sys_alloc carrier size */\ - ~((UWord) 0) /* (amount) mmc: max mseg carriers */ \ + ~((UWord) 0), /* (amount) mmc: max mseg carriers */\ + 1 /* (bool) sac: sys_alloc carriers */\ } #define ERTS_DEFAULT_ALLCTR_INIT { \ @@ -109,7 +111,8 @@ typedef struct { #define ERTS_DEFAULT_ALCU_INIT { \ 128*1024, /* (bytes) ycs: sys_alloc carrier size */\ - 1024 /* (amount) mmc: max mseg carriers */\ + 1024, /* (amount) mmc: max mseg carriers */\ + 1 /* (bool) sac: sys_alloc carriers */\ } #define ERTS_DEFAULT_ALLCTR_INIT { \ |