# 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 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2021/04/203880
- Thread: https://ratatoskr.run/linux-api/2021/04/203807/t.md

```text
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

```
