]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/swap: convert try_to_free_swap to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 17 Jun 2022 17:50:10 +0000 (18:50 +0100)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 20 Jul 2022 00:15:09 +0000 (20:15 -0400)
commitf1a334e362e1c4dfc0d1af0cec4ee44caa5ba1f8
tree7ca776062b78e5871f438a35d3c5eae5dd4ec248
parente9d02405d75da9467cb9af0c8d4c119a77ab4914
mm/swap: convert try_to_free_swap to use a folio

Save a few calls to compound_head by converting the passed page to
a folio.  Reduces kernel text size by 74 bytes.

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