mm/workingset: Convert workingset_eviction() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 23 Dec 2021 21:39:05 +0000 (16:39 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 17 Feb 2022 22:05:53 +0000 (17:05 -0500)
commit34c836afa2963c603d5ddf25288b861077d303f5
treee30c31f482d012a131aea1f8e76a80401ca1f599
parent0bd5a3f89e2b03e2a39bef07ed5cd4f656866451
mm/workingset: Convert workingset_eviction() to take a folio

This removes an assumption that THPs are the only kind of compound
pages and removes a few hidden calls to compound_head().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
include/linux/swap.h
mm/vmscan.c
mm/workingset.c