Re: mm/kmsan/instrumentation.c:41:26: warning: no previous prototype for function '__msan_metadata_ptr_for_load_n'

From: Alexander Potapenko
Date: Wed Jan 11 2023 - 07:12:15 EST


On Mon, Jan 2, 2023 at 11:01 AM Vlastimil Babka <vbabka@xxxxxxx> wrote:
>
> +CC kmsan folks.
>
> I think it's another side-effect where CONFIG_SLUB_TINY excludes KASAN which
> in turn allows KMSAN to be enabled and uncover a pre-existing issue.

Thanks for bringing this up, I'll fix this as Marco proposes.

Would it also make sense to exclude KMSAN with CONFIG_SLUB_TINY?