Re: [RFC PATCH 11/13] fs/userfaultfd: complete write asynchronously

2020-12-01 Thread Nadav Amit
> On Nov 28, 2020, at 4:45 PM, Nadav Amit wrote: > > From: Nadav Amit > > Userfaultfd writes can now be used for copy/zeroing. When using iouring > with userfaultfd, performing the copying/zeroing on the faulting thread > instead of the handler/iouring thread has several advantages: > > (1)

[RFC PATCH 11/13] fs/userfaultfd: complete write asynchronously

2020-11-28 Thread Nadav Amit
From: Nadav Amit Userfaultfd writes can now be used for copy/zeroing. When using iouring with userfaultfd, performing the copying/zeroing on the faulting thread instead of the handler/iouring thread has several advantages: (1) The data of the faulting thread will be available on the local