[PATCH v2 17/34] kasan, x86, arm64, s390: rename functions for modules shadow

Catalin Marinas catalin.marinas at arm.com
Fri Dec 10 09:55:36 PST 2021


On Mon, Dec 06, 2021 at 10:43:54PM +0100, andrey.konovalov at linux.dev wrote:
> From: Andrey Konovalov <andreyknvl at google.com>
> 
> Rename kasan_free_shadow to kasan_free_module_shadow and
> kasan_module_alloc to kasan_alloc_module_shadow.
> 
> These functions are used to allocate/free shadow memory for kernel
> modules when KASAN_VMALLOC is not enabled. The new names better
> reflect their purpose.
> 
> Also reword the comment next to their declaration to improve clarity.
> 
> Signed-off-by: Andrey Konovalov <andreyknvl at google.com>

For arm64:

Acked-by: Catalin Marinas <catalin.marinas at arm.com>



More information about the linux-arm-kernel mailing list