The patch titled Subject: mm/hotplug: treat CMA pages as unmovable has been added to the -mm tree. Its filename is mm-hotplug-treat-cma-pages-as-unmovable-v4.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-hotplug-treat-cma-pages-as-unmovable-v4.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-hotplug-treat-cma-pages-as-unmovable-v4.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/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Qian Cai <cai@xxxxxx> Subject: mm/hotplug: treat CMA pages as unmovable v4: Use is_migrate_cma_page() and update the commit log per Vlastimil. Link: http://lkml.kernel.org/r/20190416170510.20048-1-cai@xxxxxx Signed-off-by: Qian Cai <cai@xxxxxx> Acked-by: Michal Hocko <mhocko@xxxxxxxx> Acked-by: Vlastimil Babka <vbabka@xxxxxxx> Cc: Oscar Salvador <osalvador@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/page_alloc.c~mm-hotplug-treat-cma-pages-as-unmovable-v4 +++ a/mm/page_alloc.c @@ -8018,7 +8018,7 @@ bool has_unmovable_pages(struct zone *zo * can still lead to having bootmem allocations in zone_movable. */ - if (is_migrate_cma(get_pageblock_migratetype(page))) { + if (is_migrate_cma_page(page)) { /* * CMA allocations (alloc_contig_range) really need to mark * isolate CMA pageblocks even when they are not movable in fact _ Patches currently in -mm which might be from cai@xxxxxx are slab-store-tagged-freelist-for-off-slab-slabmgmt.patch mm-hotplug-treat-cma-pages-as-unmovable.patch mm-hotplug-treat-cma-pages-as-unmovable-v4.patch mm-compaction-fix-an-undefined-behaviour.patch initramfs-cleanup-populate_rootfs-fix.patch