On Thu, May 13, 2021 at 01:27:02PM +0100, Matthew Wilcox (Oracle) wrote: > +static inline int folio_is_file_lru(struct folio *folio) > +{ > + return !folio_swapbacked(folio); > +} This should probably be changed to return a bool. Otherwise looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>