[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201112191105.GR4758@kernel.org>
Date: Thu, 12 Nov 2020 21:11:05 +0200
From: Mike Rapoport <rppt@...nel.org>
To: Matthew Wilcox <willy@...radead.org>
Cc: linux-mm@...ck.org, linux-fsdevel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Hugh Dickins <hughd@...gle.com>,
Johannes Weiner <hannes@...xchg.org>,
Yang Shi <yang.shi@...ux.alibaba.com>,
Dave Chinner <dchinner@...hat.com>,
linux-kernel@...r.kernel.org, Jan Kara <jack@...e.cz>,
William Kucharski <william.kucharski@...cle.com>
Subject: Re: [PATCH v3 01/12] mm: Make pagecache tagged lookups return only
head pages
On Thu, Nov 12, 2020 at 05:41:50PM +0000, Matthew Wilcox wrote:
> On Wed, Oct 28, 2020 at 09:50:56AM +0200, Mike Rapoport wrote:
> > > @@ -2074,8 +2074,8 @@ EXPORT_SYMBOL(find_get_pages_contig);
> > > * @nr_pages: the maximum number of pages
> > > * @pages: where the resulting pages are placed
> > > *
> > > - * Like find_get_pages, except we only return pages which are tagged with
> > > - * @tag. We update @index to index the next page for the traversal.
> > > + * Like find_get_pages(), except we only return head pages which are tagged
> > > + * with @tag. We update @index to index the next page for the traversal.
> >
> > Nit: ^ next head page
>
> I don't love the sentence anyway. How about:
>
> * Like find_get_pages(), except we only return head pages which are tagged
> * with @tag. @index is updated to the index immediately after the last
> * page we return, ready for the next iteration.
I like it.
--
Sincerely yours,
Mike.
Powered by blists - more mailing lists