The patch titled Subject: mm/page_alloc.c:alloc_contig_range(): return early for err path has been added to the -mm tree. Its filename is mm-page_allocc-alloc_contig_range-return-early-for-err-path.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Bob Liu <lliubbo@xxxxxxxxx> Subject: mm/page_alloc.c:alloc_contig_range(): return early for err path If start_isolate_page_range() failed, unset_migratetype_isolate() has been done inside it. Signed-off-by: Bob Liu <lliubbo@xxxxxxxxx> Cc: Ni zhan Chen <nizhan.chen@xxxxxxxxx> Cc: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/page_alloc.c~mm-page_allocc-alloc_contig_range-return-early-for-err-path mm/page_alloc.c --- a/mm/page_alloc.c~mm-page_allocc-alloc_contig_range-return-early-for-err-path +++ a/mm/page_alloc.c @@ -5825,7 +5825,7 @@ int alloc_contig_range(unsigned long sta ret = start_isolate_page_range(pfn_max_align_down(start), pfn_max_align_up(end), migratetype); if (ret) - goto done; + return ret; ret = __alloc_contig_migrate_range(&cc, start, end); if (ret) _ Patches currently in -mm which might be from lliubbo@xxxxxxxxx are mm-page_allocc-alloc_contig_range-return-early-for-err-path.patch linux-next.patch thp-clean-up-__collapse_huge_page_isolate.patch thp-introduce-hugepage_get_pmd.patch thp-introduce-hugepage_vma_check.patch thp-cleanup-introduce-mk_huge_pmd.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