diff --git a/kernel/configs/fragments/common/huge.conf b/kernel/configs/fragments/common/huge.conf index 60e0abba4..5fa30cac1 100644 --- a/kernel/configs/fragments/common/huge.conf +++ b/kernel/configs/fragments/common/huge.conf @@ -1,5 +1,10 @@ # Items to enable large/huge mmu pages and tlbs etc. +# Compaction is the only memory management component to form high order +# (larger physically contiguous) memory blocks reliably. The lack of the +# feature can lead to unexpected OOM killer invocations for high order memory requests. +CONFIG_COMPACTION=y + CONFIG_HUGETLBFS=y # Enable memory page physical migration here, as it can come diff --git a/kernel/configs/fragments/common/mmu.conf b/kernel/configs/fragments/common/mmu.conf index 39e1b9d37..20aa00ae8 100644 --- a/kernel/configs/fragments/common/mmu.conf +++ b/kernel/configs/fragments/common/mmu.conf @@ -3,4 +3,3 @@ # vmap the kernel stacks - detects stack over-runs better and reduces # the stack attack window. CONFIG_VMAP_STACK=y -