diff --git a/Android.bp b/Android.bp index 2768607..4a92c62 100644 --- a/Android.bp +++ b/Android.bp @@ -23,7 +23,7 @@ common_cflags = [ "-DCONFIG_LARGE_SIZE_CLASSES=true", "-DGUARD_SLABS_INTERVAL=1", "-DGUARD_SIZE_DIVISOR=2", - "-DREGION_QUARANTINE_RANDOM_LENGTH=128", + "-DREGION_QUARANTINE_RANDOM_LENGTH=256", "-DREGION_QUARANTINE_QUEUE_LENGTH=1024", "-DREGION_QUARANTINE_SKIP_THRESHOLD=33554432", // 32MiB "-DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32", diff --git a/Makefile b/Makefile index 57b32da..9e84845 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ CONFIG_EXTENDED_SIZE_CLASSES := true CONFIG_LARGE_SIZE_CLASSES := true CONFIG_GUARD_SLABS_INTERVAL := 1 CONFIG_GUARD_SIZE_DIVISOR := 2 -CONFIG_REGION_QUARANTINE_RANDOM_LENGTH := 128 +CONFIG_REGION_QUARANTINE_RANDOM_LENGTH := 256 CONFIG_REGION_QUARANTINE_QUEUE_LENGTH := 1024 CONFIG_REGION_QUARANTINE_SKIP_THRESHOLD := 33554432 # 32MiB CONFIG_FREE_SLABS_QUARANTINE_RANDOM_LENGTH := 32