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

From: Peter Xu
Date: Tue Apr 13 2021 - 16:43:12 EST


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@xxxxxxxxxx>

Everything looks right to me, but it'll be great if Andrea or Hugh will have a
look too.

Acked-by: Peter Xu <peterx@xxxxxxxxxx>

--
Peter Xu