From d6b5a345a47860b450a1128ae6e79e811ae9915f Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sun, 6 Nov 2022 00:29:11 +0800 Subject: [PATCH] mm: Let MM_SMALL and MM_REGIONS depend on MM_DEFAULT_MANAGER since these options are coupled with the default heap implementation Signed-off-by: Xiang Xiao --- mm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/Kconfig b/mm/Kconfig index 414018532a..d604703581 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -51,6 +51,7 @@ config MM_KERNEL_HEAPSIZE config MM_SMALL bool "Small memory model" default n + depends on MM_DEFAULT_MANAGER ---help--- Each memory allocation has a small allocation overhead. The size of that overhead is normally determined by the "width" of the