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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Subject: [failures] mm-cma-free-cma-page-to-buddy-instead-of-being-cpu-hot-page.patch removed from -mm tree
To: troy.zhangmingjun@xxxxxxxxxx,kosaki.motohiro@xxxxxxxxxxxxxx,lauraa@xxxxxxxxxxxxxx,mgorman@xxxxxxx,minchan@xxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx
From: akpm@xxxxxxxxxxxxxxxxxxxx
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 <troy.zhangmingjun@xxxxxxxxxx>
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.

Signed-off-by: Mingjun Zhang <troy.zhangmingjun@xxxxxxxxxx>
Cc: Laura Abbott <lauraa@xxxxxxxxxxxxxx>
Cc: Minchan Kim <minchan@xxxxxxxxxx>
Cc: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
Cc: Mel Gorman <mgorman@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/page_alloc.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff -puN mm/page_alloc.c~mm-cma-free-cma-page-to-buddy-instead-of-being-cpu-hot-page mm/page_alloc.c
--- a/mm/page_alloc.c~mm-cma-free-cma-page-to-buddy-instead-of-being-cpu-hot-page
+++ a/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 troy.zhangmingjun@xxxxxxxxxx are


--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux