lkml.org 
[lkml]   [2020]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 06/16] mm/filemap: Add helper for finding pages
On Sat, Nov 14, 2020 at 11:03:18AM +0100, Christoph Hellwig wrote:
> On Thu, Nov 12, 2020 at 09:26:31PM +0000, Matthew Wilcox (Oracle) wrote:
> > + if (mark == XA_PRESENT)
> > + page = xas_find(xas, max);
> > + else
> > + page = xas_find_marked(xas, max, mark);
>
> Is there any good reason xas_find_marked can't handle the XA_PRESENT
> case as well?

I've been thinking about making that change. It's a little trickier
than I thought it would be, so it's on the back burner for now.

\
 
 \ /
  Last update: 2020-11-14 16:18    [W:0.090 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site