]> git.baikalelectronics.ru Git - kernel.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)
committerakpm <akpm@linux-foundation.org>
Mon, 4 Jul 2022 01:08:47 +0000 (18:08 -0700)
commit04f221887e4586a0f6c3d187407175d8b8cdd528
treee239337e4f9326466454a9369fb3df6811287706
parent2baa5ac8fc1b3cf386ff7aba043b1c7e733a1e46
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