Re: [PATCH v3 18/19] mm/hugetlb: Remove unused bootmem cma field
From: Muchun Song <muchun.song@linux.dev>
Date: 2026-06-03 02:42:39
Also in:
linux-mm, lkml
From: Muchun Song <muchun.song@linux.dev>
Date: 2026-06-03 02:42:39
Also in:
linux-mm, lkml
On Jun 2, 2026, at 23:41, Mike Rapoport [off-list ref] wrote: On Tue, 02 Jun 2026 18:10:38 +0800, Muchun Song [off-list ref] wrote:quoted
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.