From 212aa332267641fa9fc9a16d39159decec95b4a1 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 9 Oct 2018 13:22:46 +0200 Subject: 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 Signed-off-by: Michal Hrusecky --- target/linux/x86/64/config-default | 1 + target/linux/x86/generic/config-default | 1 + 2 files changed, 2 insertions(+) (limited to 'target/linux/x86') 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 -- cgit v1.2.3