]> www.infradead.org Git - users/jedix/linux-maple.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)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 20 Jul 2022 00:15:09 +0000 (20:15 -0400)
commitccde2aad32f040d8bc72811df05cbd1d405cd253
tree694adb3c13e2233cdf6836e27ca0e450bc6f72db
parentd7a1e71fa700f5276b791f44d5c9d34156d75c04
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