summaryrefslogtreecommitdiff
path: root/mm/swap.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2021-05-14 22:04:28 +0300
committerMatthew Wilcox (Oracle) <willy@infradead.org>2021-10-18 14:49:40 +0300
commit3eed3ef55c83ec718fae676fd59699816223215f (patch)
tree68dc5ce7200238eaf9ee99b87626d5bfa5e103d7 /mm/swap.c
parent0995d7e568141226f10f8216aa4965e06ab5db8a (diff)
downloadlinux-3eed3ef55c83ec718fae676fd59699816223215f.tar.xz
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>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions