The patch titled Subject: mm: use migrate_prep() instead of migrate_prep_local() has been added to the -mm tree. Its filename is mm-use-migrate_prep-instead-of-migrate_prep_local.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: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx> Subject: mm: use migrate_prep() instead of migrate_prep_local() __alloc_contig_migrate_range() should use all possible ways to get all the pages migrated from the given memory range, so pruning per-cpu lru lists for all CPUs is required, regadless the cost of such operation. Otherwise some pages which got stuck at per-cpu lru list might get missed by migration procedure causing the contiguous allocation to fail. Reported-by: SeongHwan Yoon <sunghwan.yun@xxxxxxxxxxx> Signed-off-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx> Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx> Acked-by: Michal Nazarewicz <mina86@xxxxxxxxxx> 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-use-migrate_prep-instead-of-migrate_prep_local mm/page_alloc.c --- a/mm/page_alloc.c~mm-use-migrate_prep-instead-of-migrate_prep_local +++ a/mm/page_alloc.c @@ -5764,7 +5764,7 @@ static int __alloc_contig_migrate_range( unsigned int tries = 0; int ret = 0; - migrate_prep_local(); + migrate_prep(); while (pfn < end || !list_empty(&cc->migratepages)) { if (fatal_signal_pending(current)) { _ Patches currently in -mm which might be from m.szyprowski@xxxxxxxxxxx are linux-next.patch mm-cma-skip-watermarks-check-for-already-isolated-blocks-in-split_free_page.patch mm-cma-remove-watermark-hacks.patch mm-cma-remove-watermark-hacks-fix.patch mm-cma-warn-if-freed-memory-is-still-in-use.patch mm-use-migrate_prep-instead-of-migrate_prep_local.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