Re: [PATCH v4 16/16] mm/filemap: Return only head pages from find_get_entries

2020-11-14 Thread Christoph Hellwig
On Thu, Nov 12, 2020 at 09:26:41PM +, Matthew Wilcox (Oracle) wrote: > All callers now expect head (and base) pages, and can handle multiple > head pages in a single batch, so make find_get_entries() behave that way. > Also take the opportunity to make it use the pagevec infrastructure >

[PATCH v4 16/16] mm/filemap: Return only head pages from find_get_entries

2020-11-12 Thread Matthew Wilcox (Oracle)
All callers now expect head (and base) pages, and can handle multiple head pages in a single batch, so make find_get_entries() behave that way. Also take the opportunity to make it use the pagevec infrastructure instead of open-coding how pvecs behave. This has the side-effect of being able to