Re: [PATCH v3 18/19] mm/hugetlb: Remove unused bootmem cma field

From: Muchun Song

Date: Tue Jun 02 2026 - 22:43:47 EST




> On Jun 2, 2026, at 23:41, Mike Rapoport <rppt@xxxxxxxxxx> wrote:
>
> On Tue, 02 Jun 2026 18:10:38 +0800, Muchun Song <songmuchun@xxxxxxxxxxxxx> wrote:
>> struct huge_bootmem_page no longer needs to keep the CMA pointer. The
>> bootmem path only needs to remember whether a huge page came from CMA,
>> which is already encoded in the flags field.
>>
>> Set HUGE_BOOTMEM_CMA when the page is allocated and drop the unused cma
>> field together with the redundant assignments.
>
> It looks like the commit does more refactoring, please mention it in the
> changelog.

Will do.

Thanks.