linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: clarify COMPACTION Kconfig text
@ 2016-08-23  8:09 Michal Hocko
  2016-08-23  8:38 ` Markus Trippelsdorf
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Michal Hocko @ 2016-08-23  8:09 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Mel Gorman, Joonsoo Kim, Vlastimil Babka, Markus Trippelsdorf,
	linux-mm, LKML, Michal Hocko

From: Michal Hocko <mhocko@suse.com>

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.

Signed-off-by: Michal Hocko <mhocko@suse.com>
---
 mm/Kconfig | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/mm/Kconfig b/mm/Kconfig
index 78a23c5c302d..0dff2f05b6d1 100644
--- a/mm/Kconfig
+++ b/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. Page allocator relies on the compaction heavily and
+          the lack of the feature can lead to unexpected OOM killer
+          invocation for high order memory requests. You shouldnm't
+          disable this option unless there is really a strong reason for
+          it and then we are really interested to hear about that at
+          linux-mm@kvack.org.
 
 #
 # support for page migration
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-08-29 14:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-23  8:09 [PATCH] mm: clarify COMPACTION Kconfig text Michal Hocko
2016-08-23  8:38 ` Markus Trippelsdorf
2016-08-23  9:17   ` Michal Hocko
2016-08-25  0:54 ` David Rientjes
2016-08-25  6:54   ` Michal Hocko
2016-08-25 22:34     ` David Rientjes
2016-08-26  6:44       ` Michal Hocko
2016-08-29 14:10 ` Johannes Weiner
2016-08-29 14:50   ` Michal Hocko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).