Skip to contentSkip to conversation

mm-cma-free-cma-page-to-buddy-instead-of-being-cpu-hot-page.patch removed from -mm tree

failures [email protected] 1 participant 1 message Nov 6, 2013

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [failures] mm-cma-free-cma-page-to-buddy-instead-of-being-cpu-hot-page.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 06 Nov 2013 15:41:34 -0800

The patch titled
Subject: mm: cma: free cma page to buddy instead of being cpu hot page
has been removed from the -mm tree. Its filename was
mm-cma-free-cma-page-to-buddy-instead-of-being-cpu-hot-page.patch

This patch was dropped because it had testing failures

------------------------------------------------------
From: Mingjun Zhang <[email protected]>
Subject: mm: cma: free cma page to buddy instead of being cpu hot page

free_contig_range() frees cma pages one by one and MIGRATE_CMA pages will be used as MIGRATE_MOVEABLE pages in the pcp list, it causes unnecessary migration action when these pages reused by CMA.

Cc Laura Abbott <[email protected]>
Cc Minchan Kim <[email protected]>
Cc KOSAKI Motohiro <[email protected]>
Cc Mel Gorman <[email protected]>

---

 mm/page_alloc.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
mm/page_alloc.c renamed from mm/page_alloc.c~mm-cma-free-cma-page-to-buddy-instead-of-being-cpu-hot-page +2 -1
diff -puN mm/page_alloc.c~mm-cma-free-cma-page-to-buddy-instead-of-being-cpu-hot-page mm/page_alloc.c
@@ -1356,7 +1356,8 @@ void free_hot_cold_page(struct page *pag
 	 * excessively into the page allocator
 	 */
 	if (migratetype >= MIGRATE_PCPTYPES) {
-		if (unlikely(is_migrate_isolate(migratetype))) {
+		if (unlikely(is_migrate_isolate(migratetype))
+			|| is_migrate_cma(migratetype))
 			free_one_page(zone, page, 0, migratetype);
 			goto out;
 		}

_

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