On Thu, Jul 04, 2024 at 03:24:10PM +0100, Ryan Roberts wrote: > > @@ -240,12 +257,13 @@ void page_cache_ra_unbounded(struct readahead_control *ractl, > > * not worth getting one just for that. > > */ > > For the case that the folio is already in the xarray, perhaps its worth > asserting that the folio is at least min_nrpages? We'd have to get a reference on the folio to be able to do that safely. Not worth it.