Skip to contentSkip to conversation

mm-huge_memoryc-remove-redundant-pagecompound-check.patch removed from -mm tree

merged [email protected] 1 participant 1 message May 8, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/huge_memory.c: remove redundant PageCompound() check
has been removed from the -mm tree. Its filename was
mm-huge_memoryc-remove-redundant-pagecompound-check.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Miaohe Lin <[email protected]>
Subject: mm/huge_memory.c: remove redundant PageCompound() check

The !PageCompound() check limits the page must be head or tail while !PageHead() further limits it to page head only. So !PageHead() check is equivalent here.

Cc Aneesh Kumar K.V <[email protected]>
Cc Matthew Wilcox <[email protected]>
Cc Michel Lespinasse <[email protected]>
Cc Ralph Campbell <[email protected]>
Cc Thomas Hellstrm (Intel) <[email protected]>
Cc Vlastimil Babka <[email protected]>
Cc Wei Yang <[email protected]>
Cc William Kucharski <[email protected]>
Cc Yang Shi <[email protected]>
Cc yuleixzhang <[email protected]>
Cc Zi Yan <[email protected]>

---

 mm/huge_memory.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/huge_memory.c renamed from mm/huge_memory.c~mm-huge_memoryc-remove-redundant-pagecompound-check +1 -1
@@ -1291,7 +1291,7 @@ vm_fault_t do_huge_pmd_wp_page(struct vm
 	}
 
 	page = pmd_page(orig_pmd);
-	VM_BUG_ON_PAGE(!PageCompound(page) || !PageHead(page), page);
+	VM_BUG_ON_PAGE(!PageHead(page), page);
 
 	/* Lock page for reuse_swap_page() */
 	if (!trylock_page(page)) {

_

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