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>
Mon, 21 Mar 2022 16:59:01 +0000 (12:59 -0400)
commit8927f6473e56e32e328ae8ed43736412f7f76a4e
tree5ca7fde99f04b289af051cb4cceb01a3143d45cc
parent1b7f7e58decccb52d6bc454413e3298f1ab3a9c6
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