Re: [PATCH v4 11/16] mm: Add an 'end' parameter to pagevec_lookup_entries

From: Christoph Hellwig
Date: Sat Nov 14 2020 - 05:21:51 EST


On Thu, Nov 12, 2020 at 09:26:36PM +0000, Matthew Wilcox (Oracle) wrote:
> Simplifies the callers and uses the existing functionality
> in find_get_entries(). We can also drop the final argument of
> truncate_exceptional_pvec_entries() and simplify the logic in that
> function.

I'd say the truncate_exceptional_pvec_entries simpliciation is a separate
step and should normally be a separate patch.

But otherwise this looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>