Re: [RFC PATCH 29/37] fs: list file types that support speculative faults.

From: Matthew Wilcox
Date: Tue Apr 06 2021 - 22:40:41 EST


On Tue, Apr 06, 2021 at 06:44:54PM -0700, Michel Lespinasse wrote:
> Add a speculative field to the vm_operations_struct, which indicates if
> the associated file type supports speculative faults.
>
> Initially this is set for files that implement fault() with filemap_fault().

Ugh, no. This goes away if you don't call ->fault speculatively.