swapfile: convert __try_to_reclaim_swap() to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 2 Sep 2022 19:46:31 +0000 (20:46 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:02:51 +0000 (14:02 -0700)
commit2c3f6194b008b23e52a8e135bdd56b67fdaa55ca
tree3f47c47b2fe2a50563a8f45d563bdae2af5383a3
parent000085b9af9f3ca13dd672a753f815ac0cb45d0a
swapfile: convert __try_to_reclaim_swap() to use a folio

Saves five calls to compound_head().

Link: https://lkml.kernel.org/r/20220902194653.1739778-36-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/swapfile.c