]> 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)
commit3d8de2f610dab0d62067f49832eb043b45b78408
treef40195fd2129c4dc3b58da7c0d03f52de7660a58
parent16e8965139972fdc3965abe867c84a8f8a7230d7
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