Re: [PATCH v1 06/46] powerpc/kasan: Refactor update of early shadow mappings

2020-04-02 Thread Christophe Leroy
Michael, Le 16/03/2020 à 13:35, Christophe Leroy a écrit : kasan_remap_early_shadow_ro() and kasan_unmap_early_shadow_vmalloc() are both updating the early shadow mapping: the first one sets the mapping read-only while the other clears the mapping. Refactor and create

[PATCH v1 06/46] powerpc/kasan: Refactor update of early shadow mappings

2020-03-16 Thread Christophe Leroy
kasan_remap_early_shadow_ro() and kasan_unmap_early_shadow_vmalloc() are both updating the early shadow mapping: the first one sets the mapping read-only while the other clears the mapping. Refactor and create kasan_update_early_region() Signed-off-by: Christophe Leroy ---