[PATCH v2 29/37] arm64: kasan: Align allocations for HW_TAGS

Catalin Marinas catalin.marinas at arm.com
Thu Sep 17 13:06:11 EDT 2020

On Tue, Sep 15, 2020 at 11:16:11PM +0200, Andrey Konovalov wrote:
> Hardware tag-based KASAN uses the memory tagging approach, which requires
> all allocations to be aligned to the memory granule size. Align the
> allocations to MTE_GRANULE_SIZE via ARCH_SLAB_MINALIGN when
> CONFIG_KASAN_HW_TAGS is enabled.
> Signed-off-by: Andrey Konovalov <andreyknvl at google.com>
> Signed-off-by: Vincenzo Frascino <vincenzo.frascino at arm.com>

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

More information about the linux-arm-kernel mailing list