aboutsummaryrefslogtreecommitdiffstats
path: root/target
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
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')
-rw-r--r--target/linux/armvirt/config-4.141
-rw-r--r--target/linux/at91/config-4.91
-rw-r--r--target/linux/generic/config-3.182
-rw-r--r--target/linux/generic/config-4.142
-rw-r--r--target/linux/generic/config-4.92
-rw-r--r--target/linux/layerscape/armv7/config-4.91
-rw-r--r--target/linux/layerscape/armv8_32b/config-4.91
-rw-r--r--target/linux/layerscape/armv8_64b/config-4.91
-rw-r--r--target/linux/mediatek/mt7623/config-4.141
-rw-r--r--target/linux/octeontx/config-4.141
-rw-r--r--target/linux/oxnas/config-4.141
-rw-r--r--target/linux/samsung/s5pv210/config-4.141
-rw-r--r--target/linux/sunxi/config-4.141
-rw-r--r--target/linux/x86/64/config-default1
-rw-r--r--target/linux/x86/generic/config-default1
15 files changed, 6 insertions, 12 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
diff --git a/target/linux/at91/config-4.9 b/target/linux/at91/config-4.9
index a44d3ac522..926681fb3c 100644
--- a/target/linux/at91/config-4.9
+++ b/target/linux/at91/config-4.9
@@ -69,7 +69,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
diff --git a/target/linux/generic/config-3.18 b/target/linux/generic/config-3.18
index 4a44952727..ee4fe40e14 100644
--- a/target/linux/generic/config-3.18
+++ b/target/linux/generic/config-3.18
@@ -654,7 +654,7 @@ CONFIG_CMDLINE=""
# CONFIG_COMMON_CLK_QCOM is not set
# CONFIG_COMMON_CLK_SI5351 is not set
# CONFIG_COMMON_CLK_SI570 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
diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14
index c9705d1a9f..02a8fa623c 100644
--- a/target/linux/generic/config-4.14
+++ b/target/linux/generic/config-4.14
@@ -811,7 +811,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
diff --git a/target/linux/generic/config-4.9 b/target/linux/generic/config-4.9
index 5153ef6755..979028f04a 100644
--- a/target/linux/generic/config-4.9
+++ b/target/linux/generic/config-4.9
@@ -764,7 +764,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
diff --git a/target/linux/layerscape/armv7/config-4.9 b/target/linux/layerscape/armv7/config-4.9
index 9c9ab93f0a..370400030d 100644
--- a/target/linux/layerscape/armv7/config-4.9
+++ b/target/linux/layerscape/armv7/config-4.9
@@ -146,7 +146,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
diff --git a/target/linux/layerscape/armv8_32b/config-4.9 b/target/linux/layerscape/armv8_32b/config-4.9
index ff8949d4a4..d83a732f90 100644
--- a/target/linux/layerscape/armv8_32b/config-4.9
+++ b/target/linux/layerscape/armv8_32b/config-4.9
@@ -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
diff --git a/target/linux/layerscape/armv8_64b/config-4.9 b/target/linux/layerscape/armv8_64b/config-4.9
index c59cf6199e..34e6a01ec2 100644
--- a/target/linux/layerscape/armv8_64b/config-4.9
+++ b/target/linux/layerscape/armv8_64b/config-4.9
@@ -205,7 +205,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
diff --git a/target/linux/mediatek/mt7623/config-4.14 b/target/linux/mediatek/mt7623/config-4.14
index 0437740467..5207e185e7 100644
--- a/target/linux/mediatek/mt7623/config-4.14
+++ b/target/linux/mediatek/mt7623/config-4.14
@@ -76,7 +76,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
diff --git a/target/linux/octeontx/config-4.14 b/target/linux/octeontx/config-4.14
index fd627d6a26..09d22d517f 100644
--- a/target/linux/octeontx/config-4.14
+++ b/target/linux/octeontx/config-4.14
@@ -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
diff --git a/target/linux/oxnas/config-4.14 b/target/linux/oxnas/config-4.14
index 1bf7d0c072..d0870d16b6 100644
--- a/target/linux/oxnas/config-4.14
+++ b/target/linux/oxnas/config-4.14
@@ -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
diff --git a/target/linux/samsung/s5pv210/config-4.14 b/target/linux/samsung/s5pv210/config-4.14
index 06eefd9fb5..7682e71243 100644
--- a/target/linux/samsung/s5pv210/config-4.14
+++ b/target/linux/samsung/s5pv210/config-4.14
@@ -59,7 +59,6 @@ CONFIG_CLKSRC_SAMSUNG_PWM=y
CONFIG_CLONE_BACKWARDS=y
CONFIG_COMMON_CLK=y
CONFIG_COMMON_CLK_SAMSUNG=y
-CONFIG_COMPACTION=y
CONFIG_COMPAT_BRK=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_COREDUMP=y
diff --git a/target/linux/sunxi/config-4.14 b/target/linux/sunxi/config-4.14
index eb4f7d2bc4..cd48b36d02 100644
--- a/target/linux/sunxi/config-4.14
+++ b/target/linux/sunxi/config-4.14
@@ -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
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