From db21ecd529eac3c92b1a459f9248b21e18619c5b Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 18 Mar 2021 06:27:46 -0400 Subject: [PATCH] use longer default region quarantine random array --- Android.bp | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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