On Sun, Mar 19, 2023 at 09:16:18PM +0000, Lorenzo Stoakes wrote: > On Sun, Mar 19, 2023 at 08:47:14PM +0000, Matthew Wilcox wrote: > > I wonder if we can't do something like prefaulting the page before > > taking the spinlock, then use copy_page_to_iter_atomic() > <snip> On second thoughts, and discussing with Uladzislau, this seems like a more sensible approach. I'm going to respin with prefaulting and revert to the previous locking.