From 2b35e4dcaca0b3c894cd4675f737258c9dabb675 Mon Sep 17 00:00:00 2001 From: "Isaac J. Manjarres" Date: Thu, 19 Mar 2020 14:35:27 -0700 Subject: [PATCH] mm/Kconfig: Relax CMA optimization dependencies The CMA performance optimizations depend on QGKI, which prevents them from being enabled on configurations that don't have a notion of GKI and QGKI. Thus, remove this dependency. This shouldn't cause any problems with the ABI surface with respect to GKI targets as the configs still have to be enabled explicitly anyway. Change-Id: I1bea32ccf23e485f491dfb27422f83d0919aedd6 Signed-off-by: Isaac J. Manjarres --- mm/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/Kconfig b/mm/Kconfig index 2c5a3693e769..2394ae5af38f 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -532,7 +532,7 @@ config CMA_AREAS config CMA_DIRECT_UTILIZATION bool "Allow clients to directly use CMA for page allocations" - depends on CMA && QGKI + depends on CMA help CMA pages are currently used as a fallback for moveable page allocations only when all regular moveable pages have been @@ -549,7 +549,7 @@ config CMA_DIRECT_UTILIZATION config CMA_PCP_LISTS bool "Create PCP lists for CMA memory" - depends on CMA && CMA_DIRECT_UTILIZATION && QGKI + depends on CMA && CMA_DIRECT_UTILIZATION help Improve memory utilization by creating PCP lists that contain CMA pages to satisfy order-0 allocations when appropriate. Increased