Re: [PATCH 3/5] kasan, mm: integrate page_alloc init with HW_TAGS

From: Marco Elver
Date: Mon Mar 08 2021 - 06:52:36 EST


On Mon, 8 Mar 2021 at 12:35, Marco Elver <elver@xxxxxxxxxx> wrote:
[...]
> Could we instead add a static inline helper to <linux/kasan.h>, e.g.
> kasan_supports_init() or so?

Hmm, KASAN certainly "supports" memory initialization always. So maybe
"kasan_has_accelerated_init()" is more accurate? I leave it to you to
decide what the best option is.

Thanks,
-- Marco