Re: [RFC PATCH 3/6] mm: Push readahead_control down into force_page_cache_readahead() [ver #2]

2020-09-02 Thread Matthew Wilcox
On Wed, Sep 02, 2020 at 04:44:38PM +0100, David Howells wrote: > +++ b/mm/fadvise.c > @@ -104,7 +104,10 @@ int generic_fadvise(struct file *file, loff_t offset, > loff_t len, int advice) > if (!nrpages) > nrpages = ~0UL; > > -

[RFC PATCH 3/6] mm: Push readahead_control down into force_page_cache_readahead() [ver #2]

2020-09-02 Thread David Howells
Push readahead_control down into force_page_cache_readahead() from its callers in preparation for making do_sync_mmap_readahead() pass down an RAC struct. Signed-off-by: David Howells --- mm/fadvise.c |5 - mm/internal.h |3 +-- mm/readahead.c | 19 +++ 3 files