Skip to content
Snippets Groups Projects
Verified Commit 874cac32 authored by Michal Hrusecky's avatar Michal Hrusecky :mouse:
Browse files

kernel: Drop memory compaction patch

Accepted upstream :-)
parent 2190e37b
No related branches found
No related tags found
No related merge requests found
From 58f7399c95e062e5df73c4b7658559626e5f718b Mon Sep 17 00:00:00 2001
From: Michal Hrusecky <michal.hrusecky@nic.cz>
Date: Wed, 20 Jun 2018 11:29:09 +0200
Subject: [PATCH] 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: Michal Hrusecky <michal.hrusecky@nic.cz>
---
target/linux/generic/config-4.14 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14
index aa227ec..96916c0 100644
--- a/target/linux/generic/config-4.14
+++ b/target/linux/generic/config-4.14
@@ -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
--
2.17.1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment