Subject: [merged] mm-migrate-add-comment-about-permanent-failure-path.patch removed from -mm tree To: n-horiguchi@xxxxxxxxxxxxx,aquini@xxxxxxxxxx,cl@xxxxxxxxx,iamjoonsoo.kim@xxxxxxx,liwanp@xxxxxxxxxxxxxxxxxx,mgorman@xxxxxxx,riel@xxxxxxxxxx,vbabka@xxxxxxx,zhangyanfei@xxxxxxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Wed, 22 Jan 2014 12:15:04 -0800 The patch titled Subject: mm/migrate: add comment about permanent failure path has been removed from the -mm tree. Its filename was mm-migrate-add-comment-about-permanent-failure-path.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx> Subject: mm/migrate: add comment about permanent failure path Let's add a comment about where the failed page goes to, which makes code more readable. Signed-off-by: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx> Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx> Acked-by: Christoph Lameter <cl@xxxxxxxxx> Reviewed-by: Wanpeng Li <liwanp@xxxxxxxxxxxxxxxxxx> Acked-by: Rafael Aquini <aquini@xxxxxxxxxx> Cc: Vlastimil Babka <vbabka@xxxxxxx> Cc: Wanpeng Li <liwanp@xxxxxxxxxxxxxxxxxx> Cc: Mel Gorman <mgorman@xxxxxxx> Cc: Rik van Riel <riel@xxxxxxxxxx> Cc: Vlastimil Babka <vbabka@xxxxxxx> Cc: Zhang Yanfei <zhangyanfei@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/migrate.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff -puN mm/migrate.c~mm-migrate-add-comment-about-permanent-failure-path mm/migrate.c --- a/mm/migrate.c~mm-migrate-add-comment-about-permanent-failure-path +++ a/mm/migrate.c @@ -1125,7 +1125,12 @@ int migrate_pages(struct list_head *from nr_succeeded++; break; default: - /* Permanent failure */ + /* + * Permanent failure (-EBUSY, -ENOSYS, etc.): + * unlike -EAGAIN case, the failed page is + * removed from migration page list and not + * retried in the next outer loop. + */ nr_failed++; break; } _ Patches currently in -mm which might be from n-horiguchi@xxxxxxxxxxxxx are origin.patch fs-proc-pagec-add-pageanon-check-to-surely-detect-thp.patch mm-memory-failurec-shift-page-lock-from-head-page-to-tail-page-after-thp-split.patch mm-new_vma_page-cannot-see-null-vma-for-hugetlb-pages.patch mm-do_mincore-cleanup.patch mm-migratec-fix-setting-of-cpupid-on-page-migration-twice-against-normal-page.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