mm/page_idle: Convert page_idle_clear_pte_refs() to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 29 Jan 2022 20:53:59 +0000 (15:53 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 25 Feb 2022 14:10:23 +0000 (09:10 -0500)
commitbfb509adcac955d55d4d2d3cc821befcec558d4f
tree0d761b9ef200cf5dd3301bc128c3765876f6950d
parent29f5251267bd64d441d579b1bf4302a488476f8f
mm/page_idle: Convert page_idle_clear_pte_refs() to use a folio

The PG_idle and PG_young bits are ignored if they're set on tail
pages, so ensure we're passing a folio around.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
mm/page_idle.c