Re: Do we need to unrevert "fs: do not prefault sys_write() user buffer pages"?
From: David Howells
Date: Tue Jun 22 2021 - 14:13:13 EST
Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:
> > It may also cause the read in to happen in the background whilst write_begin
> > is being done.
>
> Huh? Last I checked, the fault_in_readable actually read a byte from
> the page. It has to wait for the read to complete before that can
> happen.
Ah, good point.
David