Re: [PATCH v3 10/11] mm/cma: localize init_cma_pageblock() to cma.c

From: Qi Zheng

Date: Mon Nov 23 2026 - 03:16:06 EST




On 11/20/26 6:08 PM, Muchun Song wrote:
Move init_cma_pageblock() from mm_init.c into cma.c so it lives
alongside the CMA code that uses it.

No functional change intended.

Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
---
mm/cma.c | 8 ++++++++
mm/mm_init.c | 9 ---------
mm/mm_init.h | 8 --------
3 files changed, 8 insertions(+), 17 deletions(-)


Reviewed-by: Qi Zheng <qi.zheng@xxxxxxxxx>

Thanks,
Qi