hugetlb: convert remove_pool_huge_page() to remove_pool_hugetlb_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 24 Aug 2023 14:13:25 +0000 (15:13 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 4 Oct 2023 17:32:31 +0000 (10:32 -0700)
commitd5b43e9683ec5c78524f9ae93c1824edcbc1f08d
tree81b90a2fba01bb72873f57de1055136817f3b724
parent04bbfd844b99c7c89a344236d3758e7a2d41572f
hugetlb: convert remove_pool_huge_page() to remove_pool_hugetlb_folio()

Convert the callers to expect a folio and remove the unnecesary conversion
back to a struct page.

Link: https://lkml.kernel.org/r/20230824141325.2704553-4-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Cc: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/hugetlb.c