Re: [PATCH] kasan: don't call find_vm_area() in in_interrupt() for possible deadlock
From: Yeoreum Yun
Date: Thu Jul 03 2025 - 14:09:17 EST
Hi Andrey,
> [...]
> > Right. unless there is API -- find_vm_area() with spin_trylock(),
> > kasan_find_vm_area() should be removed.
> >
> > But, I'm not sure adding the new API used only bv kasan is better then
> > just remove kasan_find_vm_area().
> >
> > Do you have any idea for this?
> >
>
> I'd say the info from vm_struct is nice to have, but it's not essential for debugging.
> It's probably not worth trying to keep it, so I'd vote for for removing kasan_find_vm_area().
Thanks for sharing. I'll respin with it.
--
Sincerely,
Yeoreum Yun