lkml.org 
[lkml]   [2024]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] mm, kmsan: fix infinite recursion due to RCU critical section
On Thu, Jan 18, 2024 at 12:28 PM Charan Teja Kalla
<quic_charante@quicinc.com> wrote:
>
> May I ask if KMSAN also instruments the access to the memory managed as
> ZONE_DEVICE. You know this is not the RAM and also these pages will
> never be onlined thus also not be available in buddy.

Is there a way to tell whether a memory chunk belongs to ZONE_DEVICE
by its address?
Won't such check involve calling pfn_valid() or a similar function
that would also require synchronization?

In general, if e.g. one can call memset() on ZONE_DEVICE memory, it is
already going to be instrumented by KMSAN.

\
 
 \ /
  Last update: 2024-01-18 13:47    [W:0.296 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site