Thread (56 messages) 56 messages, 5 authors, 2023-11-17

Re: [PATCH 12/32] kmsan: Allow disabling KMSAN checks for the current task

From: Alexander Potapenko <glider@google.com>
Date: 2023-11-16 08:56:45
Also in: linux-mm, linux-s390, lkml

On Wed, Nov 15, 2023 at 9:34 PM Ilya Leoshkevich [off-list ref] wrote:
Like for KASAN, it's useful to temporarily disable KMSAN checks around,
e.g., redzone accesses.
This example is incorrect, because KMSAN does not have redzones.
You are calling these functions from "mm: slub: Let KMSAN access
metadata", which mentiones redzones in kfree(), but the description is
still somewhat unclear.
Can you provide more insight about what is going on? Maybe we can fix
those accesses instead of disabling KMSAN?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help