Re: [PATCH v3 18/19] mm/hugetlb: Remove unused bootmem cma field
From: Mike Rapoport <rppt@kernel.org>
Date: 2026-06-02 15:42:03
Also in:
linux-mm, lkml
From: Mike Rapoport <rppt@kernel.org>
Date: 2026-06-02 15:42:03
Also in:
linux-mm, lkml
On Tue, 02 Jun 2026 18:10:38 +0800, Muchun Song [off-list ref] 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. -- Sincerely yours, Mike.