aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
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/generic
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/generic')
-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
3 files changed, 3 insertions, 3 deletions
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