aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/armvirt
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-10-09 13:22:46 +0200
committerFelix Fietkau <nbd@nbd.name>2018-10-09 14:36:00 +0200
commitae2a3a1d8078cbbc4655310828006a239de66616 (patch)
treef9af8f7cbb9b345b3b82236d5dbecbcd99c068cf /target/linux/armvirt
parent46a700e118060c1666a9a73cc6d6ee3062b12618 (diff)
downloadupstream-ae2a3a1d8078cbbc4655310828006a239de66616.tar.gz
upstream-ae2a3a1d8078cbbc4655310828006a239de66616.tar.bz2
upstream-ae2a3a1d8078cbbc4655310828006a239de66616.zip
kernel: enable memory compaction
Compaction is the only memory management component to form high order (larger physically contiguous) memory blocks reliably. The page allocator relies on compaction heavily and the lack of the feature can lead to unexpected OOM killer invocations for high order memory requests. You shouldn't disable this option unless there really is a strong reason for it. Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz>
Diffstat (limited to 'target/linux/armvirt')
-rw-r--r--target/linux/armvirt/config-4.141
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/armvirt/config-4.14 b/target/linux/armvirt/config-4.14
index 64444d72fd..a2d8bb4f20 100644
--- a/target/linux/armvirt/config-4.14
+++ b/target/linux/armvirt/config-4.14
@@ -18,6 +18,7 @@ CONFIG_ARM_GIC_V2M=y
CONFIG_ARM_GIC_V3=y
CONFIG_ARM_PSCI_FW=y
# CONFIG_ARM_SP805_WATCHDOG is not set
+CONFIG_BALLOON_COMPACTION=y
CONFIG_BLK_MQ_PCI=y
CONFIG_CLKDEV_LOOKUP=y
CONFIG_CLKSRC_OF=y