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>
Mon, 18 Oct 2021 11:49:40 +0000 (07:49 -0400)
commit3eed3ef55c83ec718fae676fd59699816223215f
tree68dc5ce7200238eaf9ee99b87626d5bfa5e103d7
parent0995d7e568141226f10f8216aa4965e06ab5db8a
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