The quilt patch titled Subject: mm/cma: change the addition of totalcma_pages in the cma_init_reserved_mem has been removed from the -mm tree. Its filename was mm-cma-change-the-addition-of-totalcma_pages-in-the-cma_init_reserved_mem.patch This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm ------------------------------------------------------ From: Hao Ge <gehao@xxxxxxxxxx> Subject: mm/cma: change the addition of totalcma_pages in the cma_init_reserved_mem Date: Mon, 29 Jul 2024 16:04:31 +0800 Replace the unnecessary division calculation with cma->count when update the value of totalcma_pages. Link: https://lkml.kernel.org/r/20240729080431.70916-1-hao.ge@xxxxxxxxx Signed-off-by: Hao Ge <gehao@xxxxxxxxxx> Reviewed-by: David Hildenbrand <david@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/cma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/cma.c~mm-cma-change-the-addition-of-totalcma_pages-in-the-cma_init_reserved_mem +++ a/mm/cma.c @@ -202,7 +202,7 @@ int __init cma_init_reserved_mem(phys_ad cma->order_per_bit = order_per_bit; *res_cma = cma; cma_area_count++; - totalcma_pages += (size / PAGE_SIZE); + totalcma_pages += cma->count; return 0; } _ Patches currently in -mm which might be from gehao@xxxxxxxxxx are