summaryrefslogtreecommitdiffstats
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:29:55 +0200
commit212aa332267641fa9fc9a16d39159decec95b4a1 (patch)
tree6e07eabe3b5aaecad8b70ca925b6f9dbc3a7d898 /target/linux/armvirt
parent567fe53230d60acadcd8138d7cc5de2f8231fdf9 (diff)
downloadopenwrt-212aa332267641fa9fc9a16d39159decec95b4a1.tar.gz
openwrt-212aa332267641fa9fc9a16d39159decec95b4a1.tar.bz2
openwrt-212aa332267641fa9fc9a16d39159decec95b4a1.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