[PATCH v11 7/9] arm64/kasan: add and use kasan_map_populate()

Pavel Tatashin pasha.tatashin at oracle.com
Sat Oct 14 02:54:21 AEDT 2017


> Thanks for sharing the .config and tree. It looks like the problem is that
> kimg_shadow_start and kimg_shadow_end are not page-aligned. Whilst I fix
> them up in kasan_map_populate, they remain unaligned when passed to
> kasan_populate_zero_shadow, which confuses the loop termination conditions
> in e.g. zero_pte_populate and the shadow isn't configured properly.

This makes sense. Thank you. I will insert these changes into your
patch, and send out a new series soon after sanity checking it.

Pavel


More information about the Linuxppc-dev mailing list