Skip to contentSkip to conversation

mm-remove-redundant-condition-for-thp-folio.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Nov 6, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: remove redundant condition for THP folio
has been removed from the -mm tree. Its filename was
mm-remove-redundant-condition-for-thp-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: Dev Jain <[email protected]>
Subject: mm: remove redundant condition for THP folio
Date: Fri, 18 Oct 2024 15:11:51 +0530

folio_test_pmd_mappable() implies folio_test_large(), therefore, simplify the expression for is_thp.

---

 mm/migrate.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/migrate.c renamed from mm/migrate.c~mm-remove-redundant-condition-for-thp-folio +1 -1
@@ -1733,7 +1733,7 @@ static int migrate_pages_batch(struct li
 
 		list_for_each_entry_safe(folio, folio2, from, lru) {
 			is_large = folio_test_large(folio);
-			is_thp = is_large && folio_test_pmd_mappable(folio);
+			is_thp = folio_test_pmd_mappable(folio);
 			nr_pages = folio_nr_pages(folio);
 
 			cond_resched();

_

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