Skip to contentSkip to conversation

mm: clarify COMPACTION Kconfig text

PATCH In review [email protected] 1 participant 1 message Aug 25, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 8/12 mm: clarify COMPACTION Kconfig text

From: Michal Hocko <[email protected]>
Subject: mm: clarify COMPACTION Kconfig text

The current wording of the COMPACTION Kconfig help text doesn't emphasise that disabling COMPACTION might cripple the page allocator which relies on the compaction quite heavily for high order requests and an unexpected OOM can happen with the lack of compaction. Make sure we are vocal about that.

---

 mm/Kconfig |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
mm/Kconfig renamed from mm/Kconfig~mm-clarify-compaction-kconfig-text +8 -1
diff -puN mm/Kconfig~mm-clarify-compaction-kconfig-text mm/Kconfig
@@ -262,7 +262,14 @@ config COMPACTION
 	select MIGRATION
 	depends on MMU
 	help
-	  Allows the compaction of memory for the allocation of huge pages.
+          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 and then we would be really interested to hear about that at
+          [email protected].
 
 #
 # support for page migration

_