mm-hugetlb-set-head-flag-before-setting-compound_order-in-__prep_compound_gigantic_folio.patch removed from -mm tree
The quilt patch titled
Subject: mm/hugetlb: set head flag before setting compound_order in __prep_compound_gigantic_folio
has been removed from the -mm tree. Its filename was
mm-hugetlb-set-head-flag-before-setting-compound_order-in-__prep_compound_gigantic_folio.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: set head flag before setting compound_order in __prep_compound_gigantic_folio
Date: Mon, 12 Dec 2022 14:55:29 -0800
folio_set_compound_order() checks if the passed in folio is a large folio. A large folio is indicated by the PG_head flag. Call __folio_set_head() before setting the order.
---
mm/hugetlb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
mm/hugetlb.c renamed from mm/hugetlb.c~mm-hugetlb-set-head-flag-before-setting-compound_order-in-__prep_compound_gigantic_folio +2 -2
@@ -1805,10 +1805,10 @@ static bool __prep_compound_gigantic_folint nr_pages =1 << order;struct page *p; -/* we rely on prep_new_hugetlb_folio to set the destructor */ -folio_set_compound_order (folio, order);__folio_clear_reserved (folio);__folio_set_head (folio); +/* we rely on prep_new_hugetlb_folio to set the destructor */ +folio_set_compound_order (folio, order);for (i =0 ; i < nr_pages; i++) { p =folio_page (folio, i);
_
Patches currently in -mm which might be from [email protected] are