mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-05-31 12:04:29 -04:00
add initial implementation of arenas
This commit is contained in:
parent
55769496dc
commit
c5e911419d
4 changed files with 99 additions and 56 deletions
|
@ -24,6 +24,7 @@ common_cflags = [
|
|||
"-DREGION_QUARANTINE_SKIP_THRESHOLD=33554432", // 32MiB
|
||||
"-DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32",
|
||||
"-DCONFIG_CLASS_REGION_SIZE=1073741824", // 1GiB
|
||||
"-DN_ARENA=1",
|
||||
]
|
||||
|
||||
cc_defaults {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue