The patch titled Subject: mm: fix overflow in find_zone_movable_pfns_for_nodes() has been removed from the -mm tree. Its filename was mm-fix-overflow-in-find_zone_movable_pfns_for_nodes.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Xishi Qiu <qiuxishi@xxxxxxxxxx> Subject: mm: fix overflow in find_zone_movable_pfns_for_nodes() If the user set "movablecore=xx" to a large number, corepages will overflow. Fix the problem. Signed-off-by: Xishi Qiu <qiuxishi@xxxxxxxxxx> Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@xxxxxxxxxxxxxx> Acked-by: Tang Chen <tangchen@xxxxxxxxxxxxxx> Acked-by: David Rientjes <rientjes@xxxxxxxxxx> Cc: Mel Gorman <mgorman@xxxxxxx> Cc: Tang Chen <tangchen@xxxxxxxxxxxxxx> Cc: Zhang Yanfei <zhangyanfei@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_alloc.c | 1 + 1 file changed, 1 insertion(+) diff -puN mm/page_alloc.c~mm-fix-overflow-in-find_zone_movable_pfns_for_nodes mm/page_alloc.c --- a/mm/page_alloc.c~mm-fix-overflow-in-find_zone_movable_pfns_for_nodes +++ a/mm/page_alloc.c @@ -5666,6 +5666,7 @@ static void __init find_zone_movable_pfn */ required_movablecore = roundup(required_movablecore, MAX_ORDER_NR_PAGES); + required_movablecore = min(totalpages, required_movablecore); corepages = totalpages - required_movablecore; required_kernelcore = max(required_kernelcore, corepages); _ Patches currently in -mm which might be from qiuxishi@xxxxxxxxxx are mm-skip-if-required_kernelcore-is-larger-than-totalpages.patch kasan-use-is_aligned-in-memory_is_poisoned_8.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