Re: [PATCH v4 13/16] mm: Pass pvec directly to find_get_entries

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


On Thu, Nov 12, 2020 at 09:26:38PM +0000, Matthew Wilcox (Oracle) wrote:
> + pvec->nr = ret;
> return ret;

Do we need to return the number of found entries in addition to storing
it in the pagevec?