aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86
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/x86
parent567fe53230d60acadcd8138d7cc5de2f8231fdf9 (diff)
downloadupstream-212aa332267641fa9fc9a16d39159decec95b4a1.tar.gz
upstream-212aa332267641fa9fc9a16d39159decec95b4a1.tar.bz2
upstream-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/x86')
-rw-r--r--target/linux/x86/64/config-default1
-rw-r--r--target/linux/x86/generic/config-default1
2 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/x86/64/config-default b/target/linux/x86/64/config-default
index e854cf259a..ee14a36573 100644
--- a/target/linux/x86/64/config-default
+++ b/target/linux/x86/64/config-default
@@ -49,6 +49,7 @@ CONFIG_AUDIT_ARCH=y
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_BACKLIGHT_GENERIC=y
CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_BALLOON_COMPACTION=y
CONFIG_BLK_DEV_INTEGRITY=y
CONFIG_BLK_MQ_VIRTIO=y
# CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set
diff --git a/target/linux/x86/generic/config-default b/target/linux/x86/generic/config-default
index 327e7c647d..1e7cea801f 100644
--- a/target/linux/x86/generic/config-default
+++ b/target/linux/x86/generic/config-default
@@ -47,6 +47,7 @@ CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_BACKLIGHT_GENERIC=y
CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_BALLOON_COMPACTION=y
CONFIG_BLK_DEV_SR=y
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_BLK_MQ_VIRTIO=y