]> git.baikalelectronics.ru Git - kernel.git/commit
mm/swap: convert __put_compound_page() to __folio_put_large()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 17 Jun 2022 17:50:15 +0000 (18:50 +0100)
committerakpm <akpm@linux-foundation.org>
Mon, 4 Jul 2022 01:08:47 +0000 (18:08 -0700)
commit318710dacd0796fc5de1703df21c3d7e330c390f
treef40195fd2129c4dc3b58da7c0d03f52de7660a58
parentd1bc5fc5de6bb608db3830f2eb1b63496d52773d
mm/swap: convert __put_compound_page() to __folio_put_large()

All the callers now have a folio, so pass it in.  This doesn't
save any text, but it does save a call to compound_head() as
folio_test_hugetlb() does not contain a call like PageHuge() does.

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