Skip to contentSkip to conversation

mm-hugetlb-remove-hugetlb_page_subpool.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jun 9, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm/hugetlb: remove hugetlb_page_subpool()
has been removed from the -mm tree. Its filename was
mm-hugetlb-remove-hugetlb_page_subpool.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Sidhartha Kumar <[email protected]>
Subject: mm/hugetlb: remove hugetlb_page_subpool()
Date: Tue, 16 May 2023 15:52:05 -0700

All users of hugetlb_page_subpool() have been converted to use the folio equivalent. This function can be safely removed.

---

 include/linux/hugetlb.h |   13 -------------
 1 file changed, 13 deletions(-)
include/linux/hugetlb.h renamed from include/linux/hugetlb.h~mm-hugetlb-remove-hugetlb_page_subpool +0 -13
@@ -757,14 +757,6 @@ static inline struct hugepage_subpool *h
 	return folio->_hugetlb_subpool;
 }
 
-/*
- * hugetlb page subpool pointer located in hpage[2].hugetlb_subpool
- */
-static inline struct hugepage_subpool *hugetlb_page_subpool(struct page *hpage)
-{
-	return hugetlb_folio_subpool(page_folio(hpage));
-}
-
 static inline void hugetlb_set_folio_subpool(struct folio *folio,
 					struct hugepage_subpool *subpool)
 {
@@ -1030,11 +1022,6 @@ static inline struct hugepage_subpool *h
 {
 	return NULL;
 }
-
-static inline struct hugepage_subpool *hugetlb_page_subpool(struct page *hpage)
-{
-	return NULL;
-}
 
 static inline int isolate_or_dissolve_huge_page(struct page *page,
 						struct list_head *list)

_

Patches currently in -mm which might be from [email protected] are