lkml.org 
[lkml]   [2025]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kasan: Don't call find_vm_area() in RT kernel
On Tue, 11 Feb 2025 19:16:34 -0500 Waiman Long <llong@redhat.com> wrote:

> > Fixes: c056a364e954 ("kasan: print virtual mapping info in reports")
> > Cc: <stable@vger.kernel.org>
> >
> > but c056a364e954 is 3 years old and I don't think we care about -rt in
> > such old kernels. Thoughts?
>
> The KASAN report_lock was changed to a raw_spinlock_t in v6.13 kernel
> with commit e30a0361b851 ("kasan: make report_lock a raw spinlock") to
> fix a similar RT problem. The report_lock is acquired before calling
> print_address_description(). Before commit e30a0361b851, this
> find_vm_area() is a secondary issue. We may consider commit e30a0361b851
> isn't complete and this is a fix for that.

Great, thanks, updated...

\
 
 \ /
  Last update: 2025-02-12 01:20    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog