From 3de36d6b4ff336e01c64306594be31d40ee317ab Mon Sep 17 00:00:00 2001 From: Prakash Gupta Date: Mon, 7 Sep 2020 18:59:49 +0530 Subject: [PATCH] mm/Kconfig: Default Enable LIMIT_MOVABLE_ZONE_ALLOC Default enable LIMIT_MOVABLE_ZONE_ALLOC for QGKI. Change-Id: I41718a07e4b563c392125b76ce2a9fe020a495fa Signed-off-by: Prakash Gupta --- mm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mm/Kconfig b/mm/Kconfig index bcaa2cca7b1f..9b9651d302d5 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -531,6 +531,8 @@ config CMA_AREAS config LIMIT_MOVABLE_ZONE_ALLOC bool "Limit types of allocations from Movable zone" + depends on QGKI && MEMORY_HOTPLUG_MOVABLE_NODE + default y help Ensure that only allocations which include __GFP_OFFLINABLE can be satisfied from zone Movable. This restriction helps reduce the