mm-cma-change-the-addition-of-totalcma_pages-in-the-cma_init_reserved_mem.patch removed from -mm tree
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 <[email protected]>
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.
---
mm/cma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/cma.c renamed from mm/cma.c~mm-cma-change-the-addition-of-totalcma_pages-in-the-cma_init_reserved_mem +1 -1
@@ -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 [email protected] are