[PATCH v2 2/2] kasan: clean up KASAN_SHADOW_SCALE_SHIFT usage

Andrey Ryabinin aryabinin at virtuozzo.com
Mon Jan 15 08:35:11 PST 2018



On 01/12/2018 07:49 PM, Andrey Konovalov wrote:
> Right now the fact that KASAN uses a single shadow byte for 8 bytes of
> memory is scattered all over the code.
> 
> This change defines KASAN_SHADOW_SCALE_SHIFT early in asm include files
> and makes use of this constant where necessary.
> 
> Signed-off-by: Andrey Konovalov <andreyknvl at google.com>
> ---

Acked-by: Andrey Ryabinin <aryabinin at virtuozzo.com>




More information about the linux-arm-kernel mailing list