lkml.org 
[lkml]   [2020]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] mm: Don't fault around userfaultfd-registered regions on reads
From
Date
On 26.11.20 23:23, Peter Xu wrote:
> Faulting around for reads are in most cases helpful for the performance so that
> continuous memory accesses may avoid another trip of page fault. However it
> may not always work as expected.
>
> For example, userfaultfd registered regions may not be the best candidate for
> pre-faults around the reads.

Are we getting uffd faults even though no-one actually accessed it? So
in case I would track what some part of my program actually reads, I
would get wrong notifications?

--
Thanks,

David / dhildenb

\
 
 \ /
  Last update: 2020-11-27 18:03    [W:0.117 / U:2.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site