The patch titled Subject: mm: correct return value of migrate_pages() has been removed from the -mm tree. Its filename was mm-correct-return-value-of-migrate_pages.patch This patch was dropped because an updated version will be merged ------------------------------------------------------ From: Joonsoo Kim <js1304@xxxxxxxxx> Subject: mm: correct return value of migrate_pages() migrate_pages() should return number of pages not migrated or error code. When unmap_and_move return -EAGAIN, outer loop is re-execution without initialising nr_failed. This makes nr_failed over-counted. So this patch correct it by initialising nr_failed in outer loop. Signed-off-by: Joonsoo Kim <js1304@xxxxxxxxx> Acked-by: Christoph Lameter <cl@xxxxxxxxx> Cc: Mel Gorman <mel@xxxxxxxxx> Acked-by: Michal Nazarewicz <mina86@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/migrate.c | 1 + 1 file changed, 1 insertion(+) diff -puN mm/migrate.c~mm-correct-return-value-of-migrate_pages mm/migrate.c --- a/mm/migrate.c~mm-correct-return-value-of-migrate_pages +++ a/mm/migrate.c @@ -1069,6 +1069,7 @@ int migrate_pages(struct list_head *from for(pass = 0; pass < 10 && retry; pass++) { retry = 0; + nr_failed = 0; list_for_each_entry_safe(page, page2, from, lru) { cond_resched(); _ Patches currently in -mm which might be from js1304@xxxxxxxxx are linux-next.patch -- 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