Re: [PATCH v2 3/9] userfaultfd/shmem: support minor fault registration for shmem

From
Peter Xu <peterx@redhat.com>
Date
2021-04-13 20:43:11
Also in
linux-fsdevel, linux-kselftest, linux-mm, lkml
Reply to
Axel Rasmussen, 2021-04-13
On Mon, Apr 12, 2021 at 10:17:15PM -0700, Axel Rasmussen wrote:
This patch allows shmem-backed VMAs to be registered for minor faults.
Minor faults are appropriately relayed to userspace in the fault path,
for VMAs with the relevant flag.

This commit doesn't hook up the UFFDIO_CONTINUE ioctl for shmem-backed
minor faults, though, so userspace doesn't yet have a way to resolve
such faults.

Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Everything looks right to me, but it'll be great if Andrea or Hugh will have a
look too.

Acked-by: Peter Xu <peterx@redhat.com>

-- 
Peter Xu
Thread (23 messages) 23 messages, 3 authors, last reply 2021-04-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help