mm-remove-redundant-condition-for-thp-folio.patch removed from -mm tree
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.
Signed-off-by Dev Jain <[email protected]>
Reviewed-by Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by Zi Yan <[email protected]>
Reviewed-by Anshuman Khandual <[email protected]>
Cc "Huang, Ying" <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
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 lilist_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