Re: Do we need to unrevert "fs: do not prefault sys_write() user buffer pages"?
From: David Howells <dhowells@redhat.com>
Date: 2021-06-22 18:13:11
Also in:
linux-ext4, linux-fsdevel, lkml
From: David Howells <dhowells@redhat.com>
Date: 2021-06-22 18:13:11
Also in:
linux-ext4, linux-fsdevel, lkml
Matthew Wilcox [off-list ref] wrote:
quoted
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