aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/64
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/x86/64
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/x86/64')
-rw-r--r--target/linux/x86/64/config-default1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/x86/64/config-default b/target/linux/x86/64/config-default
index f55423e1c5..12932e4a2a 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