Re: [PATCH v2 38/46] mm: Add folio_evictable()

From: Matthew Wilcox
Date: Thu Jun 24 2021 - 19:50:51 EST


On Wed, Jun 23, 2021 at 11:54:06AM +0200, Christoph Hellwig wrote:
> > + * Reasons folio might not be evictable:
> > + * 1. page's mapping marked unevictable
> > + * 2. page is part of an mlocked VMA
>
> s/page/folio/?

Thanks.

* Reasons folio might not be evictable:
* 1. folio's mapping marked unevictable
* 2. One of the pages in the folio is part of an mlocked VMA

> Otherwise looks good:
>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>