mm/kconfig: The default alignment of global variable out-of-bounds detection is 1

It is recommended to use 1 on qemu and 16 or even 32 on the device.

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
This commit is contained in:
wangmingrong1 2024-09-24 17:16:57 +08:00 committed by Xiang Xiao
parent 948d51cd67
commit 55c9697efe
1 changed files with 4 additions and 1 deletions

View File

@ -345,7 +345,10 @@ if MM_KASAN_GLOBAL
config MM_KASAN_GLOBAL_ALIGN
int "KASan global alignment"
default 32
default 1
---help---
It is recommended to use 1, 2, 4, 8, 16, 32.
The maximum value is 32.
endif # MM_KASAN_GLOBAL