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

2021-03-09 Thread Axel Rasmussen
On Tue, Mar 9, 2021 at 11:52 AM Zi Yan wrote: > > On 1 Mar 2021, at 19:01, 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. > > >

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

2021-03-09 Thread Zi Yan
On 1 Mar 2021, at 19:01, 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 single > sh

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

2021-03-01 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