Because the KASan's shadow memory don't need to track,so remove the mapping code in kasan_init. Cc: Andrey Ryabinin <a.ryabinin@xxxxxxxxxxx> --- arch/arm/mm/kasan_init.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/mm/kasan_init.c b/arch/arm/mm/kasan_init.c index 2bf0782..7cfdc39 100644 --- a/arch/arm/mm/kasan_init.c +++ b/arch/arm/mm/kasan_init.c @@ -218,10 +218,6 @@ void __init kasan_init(void) clear_pgds(KASAN_SHADOW_START, KASAN_SHADOW_END); - kasan_populate_zero_shadow( - kasan_mem_to_shadow((void *)KASAN_SHADOW_START), - kasan_mem_to_shadow((void *)KASAN_SHADOW_END)); - kasan_populate_zero_shadow(kasan_mem_to_shadow((void *)VMALLOC_START), kasan_mem_to_shadow((void *)-1UL) + 1); -- 2.9.0 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>