ANDROID: cuttlefish_defconfig: Disable TRANSPARENT_HUGEPAGE
authorAlistair Delva <adelva@google.com>
Mon, 23 Dec 2019 18:45:42 +0000 (10:45 -0800)
committerAlistair Delva <adelva@google.com>
Mon, 23 Dec 2019 21:34:41 +0000 (13:34 -0800)
Fix conflict between jemalloc/scudo and MADV_NOHUGEPAGE by disabling the
transparent hugepage support. It has also been suggested that this
feature can make VM behavior less predictable.

Bug: 131119917
Change-Id: I17556838fbf1f893e26c5658ee95b4e3b16b10ad
Signed-off-by: Alistair Delva <adelva@google.com>
arch/arm64/configs/cuttlefish_defconfig
arch/x86/configs/x86_64_cuttlefish_defconfig

index 01f5932d35749564a62cda4e6b4ad5fc11048229..55ccc9ad1b40e07d741393f3c61ca233c409cdaf 100644 (file)
@@ -49,7 +49,6 @@ CONFIG_PREEMPT=y
 CONFIG_HZ_100=y
 # CONFIG_SPARSEMEM_VMEMMAP is not set
 CONFIG_KSM=y
-CONFIG_TRANSPARENT_HUGEPAGE=y
 CONFIG_ZSMALLOC=y
 CONFIG_SECCOMP=y
 CONFIG_PARAVIRT=y
index 1e863514afbef0ed16ea31f473ae86a6af3c757e..041475898a1fdceafb16c9ee5166672a6fcf2479 100644 (file)
@@ -55,7 +55,6 @@ CONFIG_X86_MSR=y
 CONFIG_X86_CPUID=y
 CONFIG_KSM=y
 CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
-CONFIG_TRANSPARENT_HUGEPAGE=y
 CONFIG_ZSMALLOC=y
 # CONFIG_MTRR is not set
 CONFIG_HZ_100=y