mm/kasan: Using arrays instead of linked lists

1. Modify the Kasan global variable script to support array storage of region addresses
2. Due to the lack of formatting in the previous attempt, a formatting script was created

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
This commit is contained in:
wangmingrong1
2024-09-12 11:24:54 +08:00
committed by Xiang Xiao
parent 7796161ee2
commit 5c511443fe
4 changed files with 59 additions and 75 deletions
+4
View File
@@ -293,6 +293,10 @@ config MM_KASAN_ALL
to check. Enabling this option will get image size increased
and performance decreased significantly.
config MM_KASAN_REGIONS
int "Kasan region count"
default 8
config MM_KASAN_WATCHPOINT
int "Kasan watchpoint maximum number"
default 0