mm: Dump all memory blocks on allocation failure

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
yinshengkai
2023-05-17 18:05:02 +08:00
committed by Xiang Xiao
parent 484d349fe3
commit aad2f97587
2 changed files with 14 additions and 1 deletions
+5
View File
@@ -298,6 +298,11 @@ config MM_DUMP_ON_FAILURE
default n
depends on DEBUG_MM
config MM_DUMP_DETAILS_ON_FAILURE
bool "Dump all used memory blocks on allocation failure"
default n
depends on MM_DUMP_ON_FAILURE
config MM_PANIC_ON_FAILURE
bool "Panic on allocation failure"
default n