kernel: enable memory compaction
authorFelix Fietkau <nbd@nbd.name>
Tue, 9 Oct 2018 11:22:46 +0000 (13:22 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 9 Oct 2018 12:36:00 +0000 (14:36 +0200)
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>
13 files changed:
target/linux/armvirt/config-4.14
target/linux/at91/config-4.9
target/linux/generic/config-4.14
target/linux/generic/config-4.9
target/linux/layerscape/armv8_32b/config-4.9
target/linux/layerscape/armv8_64b/config-4.9
target/linux/mediatek/mt7623/config-4.14
target/linux/octeontx/config-4.14
target/linux/oxnas/config-4.14
target/linux/sunxi/config-4.14
target/linux/sunxi/config-4.9
target/linux/x86/64/config-default
target/linux/x86/generic/config-default

index 64444d72fd943c87dcd0d2e80b8b64ea622f1ecd..a2d8bb4f20b7b33c300927f42420bb1b9e9cfc04 100644 (file)
@@ -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
index e483d0f76d9956d44b8b2fcb33a21080e131bb81..59a092b85694b51898de0cb1188c4d11eda1bde5 100644 (file)
@@ -71,7 +71,6 @@ CONFIG_CMA_AREAS=7
 CONFIG_CMDLINE="console=ttyS0,115200 initrd=0x21100000,25165824 root=/dev/ram0 rw"
 CONFIG_COMMON_CLK=y
 CONFIG_COMMON_CLK_AT91=y
-CONFIG_COMPACTION=y
 CONFIG_COMPAT_BRK=y
 CONFIG_CONFIGFS_FS=y
 CONFIG_CONSOLE_TRANSLATIONS=y
index aa227ec6bfb897daeb1a7af6ddf2e5e761bee9f6..96916c0e43e8ebd9a7ec8c4efcfa6a49bfcc9c2d 100644 (file)
@@ -813,7 +813,7 @@ CONFIG_CMDLINE=""
 # CONFIG_COMMON_CLK_VERSATILE is not set
 # CONFIG_COMMON_CLK_XGENE is not set
 # CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set
-# CONFIG_COMPACTION is not set
+CONFIG_COMPACTION=y
 # CONFIG_COMPAL_LAPTOP is not set
 # CONFIG_COMPAT_BRK is not set
 # CONFIG_COMPILE_TEST is not set
index 83abfdc8ff1493c9f5f1e453e23266f658a4e0fb..53955d9ae7f331cd097ba0d9531af2b8af9b5e63 100644 (file)
@@ -766,7 +766,7 @@ CONFIG_CMDLINE=""
 # CONFIG_COMMON_CLK_SI5351 is not set
 # CONFIG_COMMON_CLK_SI570 is not set
 # CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set
-# CONFIG_COMPACTION is not set
+CONFIG_COMPACTION=y
 # CONFIG_COMPAL_LAPTOP is not set
 # CONFIG_COMPAT_BRK is not set
 # CONFIG_COMPILE_TEST is not set
index 1ee8fdb0d75e8e1413a5ce966b66ddffc26c6f93..44662a23831b6f017861490b9bd3c2b2a6573eb9 100644 (file)
@@ -185,7 +185,6 @@ CONFIG_COMMON_CLK_MAX77686=y
 # CONFIG_COMMON_CLK_PALMAS is not set
 # CONFIG_COMMON_CLK_RK808 is not set
 # CONFIG_COMMON_CLK_S2MPS11 is not set
-CONFIG_COMPACTION=y
 CONFIG_COMPAT_BRK=y
 CONFIG_CONFIGFS_FS=y
 CONFIG_CONSOLE_TRANSLATIONS=y
index 20758d41e2febf605ed7e06a73cd3154d5263c06..26c59dffe8a72cb32ff296fec2882aed3b175dec 100644 (file)
@@ -204,7 +204,6 @@ CONFIG_COMMON_CLK_RK808=y
 CONFIG_COMMON_CLK_S2MPS11=y
 CONFIG_COMMON_CLK_VERSATILE=y
 CONFIG_COMMON_CLK_XGENE=y
-CONFIG_COMPACTION=y
 CONFIG_COMPAT=y
 CONFIG_COMPAT_BINFMT_ELF=y
 CONFIG_COMPAT_NETLINK_MESSAGES=y
index 9f709894102ffe20e6ce2015d13a36a0e2ac0bb1..05d99941cd34ddb0f2a86a140b4b1b42677663b1 100644 (file)
@@ -75,7 +75,6 @@ CONFIG_COMMON_CLK_MT2701_VDECSYS=y
 # CONFIG_COMMON_CLK_MT7622 is not set
 # CONFIG_COMMON_CLK_MT8135 is not set
 # CONFIG_COMMON_CLK_MT8173 is not set
-CONFIG_COMPACTION=y
 CONFIG_COREDUMP=y
 # CONFIG_CPUFREQ_DT is not set
 CONFIG_CPU_32v6K=y
index fd627d6a261195d3b335785d0d81ddda4d41b5ba..09d22d517fe2fd19df9a5000981dc29d7d84b34c 100644 (file)
@@ -120,7 +120,6 @@ CONFIG_COMMON_CLK=y
 CONFIG_COMMON_CLK_CS2000_CP=y
 # CONFIG_COMMON_CLK_VERSATILE is not set
 CONFIG_COMMON_CLK_XGENE=y
-CONFIG_COMPACTION=y
 CONFIG_COMPAT=y
 CONFIG_COMPAT_BINFMT_ELF=y
 CONFIG_COMPAT_NETLINK_MESSAGES=y
index 4d6943aea5ef275aa03285fdacc8d8a9b7d64ccd..56b54dd59d6001059fbf11d9b229c59019024b9b 100644 (file)
@@ -70,7 +70,6 @@ CONFIG_CMA_SIZE_SEL_MBYTES=y
 CONFIG_CMDLINE_PARTITION=y
 CONFIG_COMMON_CLK=y
 CONFIG_COMMON_CLK_OXNAS=y
-CONFIG_COMPACTION=y
 CONFIG_COMPAT_BRK=y
 CONFIG_CONSOLE_TRANSLATIONS=y
 CONFIG_CONTEXT_SWITCH_TRACER=y
index 197e099ab47666964af7fe20fbc9abf58d265ae1..708917ec50f38f1ec2902663d6a8e5b05d2f7bb2 100644 (file)
@@ -76,7 +76,6 @@ CONFIG_CLKDEV_LOOKUP=y
 CONFIG_CLKSRC_MMIO=y
 CONFIG_CLONE_BACKWARDS=y
 CONFIG_COMMON_CLK=y
-CONFIG_COMPACTION=y
 CONFIG_CONFIGFS_FS=y
 CONFIG_CONNECTOR=y
 CONFIG_CONSOLE_TRANSLATIONS=y
index 4a74fd1f4fb55a7e6a0184a8426cc3f83651981b..c9059be3fabc7b7f2dfd43f771f82d457502c304 100644 (file)
@@ -71,7 +71,6 @@ CONFIG_CLKSRC_OF=y
 CONFIG_CLKSRC_PROBE=y
 CONFIG_CLONE_BACKWARDS=y
 CONFIG_COMMON_CLK=y
-CONFIG_COMPACTION=y
 CONFIG_CONFIGFS_FS=y
 CONFIG_CONNECTOR=y
 CONFIG_CONSOLE_TRANSLATIONS=y
index f55423e1c50faecf8fe1bc4f96edc8c902fd9d65..12932e4a2ae6c70e6c05e43b6dba5ebed45b60ca 100644 (file)
@@ -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
index 327e7c647dec35d90db2edfe5be4b614533338bf..1e7cea801f39092cb4b415d1eec2ea8c704b314f 100644 (file)
@@ -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