[RFC PATCH v1 02/13] mm: allow compaction to be disabled

From: daniel . m . jordan
Date: Wed Jan 31 2018 - 18:15:38 EST


This is a temporary hack to avoid the non-trivial refactoring of the
compaction code that takes lru_lock in this prototype. This refactoring
can be done later.

Signed-off-by: Daniel Jordan <daniel.m.jordan@xxxxxxxxxx>
---
mm/Kconfig | 1 -
1 file changed, 1 deletion(-)

diff --git a/mm/Kconfig b/mm/Kconfig
index 03ff7703d322..96412c3939c5 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -231,7 +231,6 @@ config BALLOON_COMPACTION
# support for memory compaction
config COMPACTION
bool "Allow for memory compaction"
- def_bool y
select MIGRATION
depends on MMU
help
--
2.16.1