Re: [PATCH 1/5] userfaultfd: support minor fault handling for shmem

2021-02-25 Thread Axel Rasmussen
On Wed, Feb 24, 2021 at 6:14 PM Axel Rasmussen wrote: > > Modify the userfaultfd register API to allow registering shmem VMAs in > minor mode. Modify the shmem mcopy implementation to support > UFFDIO_CONTINUE in order to resolve such faults. > > Combine the shmem mcopy handler functions into a si

[PATCH 1/5] userfaultfd: support minor fault handling for shmem

2021-02-24 Thread Axel Rasmussen
Modify the userfaultfd register API to allow registering shmem VMAs in minor mode. Modify the shmem mcopy implementation to support UFFDIO_CONTINUE in order to resolve such faults. Combine the shmem mcopy handler functions into a single shmem_mcopy_atomic_pte, which takes a mode parameter. This ma