Re: [PATCH v2 16/33] mm: slub: Let KMSAN access metadata

2023-11-30 Thread Vlastimil Babka
On 11/21/23 23:01, Ilya Leoshkevich wrote: > Building the kernel with CONFIG_SLUB_DEBUG and CONFIG_KMSAN causes > KMSAN to complain about touching redzones in kfree(). > > Fix by extending the existing KASAN-related metadata_access_enable() > and metadata_access_disable() functions to KMSAN. > >

[PATCH v2 16/33] mm: slub: Let KMSAN access metadata

2023-11-21 Thread Ilya Leoshkevich
Building the kernel with CONFIG_SLUB_DEBUG and CONFIG_KMSAN causes KMSAN to complain about touching redzones in kfree(). Fix by extending the existing KASAN-related metadata_access_enable() and metadata_access_disable() functions to KMSAN. Signed-off-by: Ilya Leoshkevich --- mm/slub.c | 2 ++