Thread (3 messages) 3 messages, 3 authors, 2021-05-27

Re: [PATCH] mm/lru: Add folio LRU functions

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-05-27 08:36:45

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@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help