]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: Add folio_evictable()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 14 May 2021 19:04:28 +0000 (15:04 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 15 Aug 2021 20:36:43 +0000 (16:36 -0400)
commit806cdb0f0f1c8d4b595e8f72d11a0e596485e8f4
tree56b6f6bc9799986115fae429f424034b54781e56
parentd2ffc9859cc468a70e0f068c39557165899b986a
mm: Add folio_evictable()

This is the folio equivalent of page_evictable().  Unfortunately, it's
different from !folio_test_unevictable(), but I think it's used in places
where you have to be a VM expert and can reasonably be expected to know
the difference.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
mm/internal.h