Re: [PATCH 1/5] mm: hugetlb: add explicit page size to hugetlb_cma
From: Jose A. Perez de Azpillaga
Date: Sat Oct 17 2026 - 13:32:45 EST
On 10/16/26 12:07 PM, Qi Zheng wrote:
> From: Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx>
>
> Accept an optional @<page-size> suffix for hugetlb_cma. Initially accept
> only the architecture's existing CMA page size. Preserve the behavior of
> unsuffixed arguments and the existing hugepagesz/hugepages options.
>
> Validate the suffix before applying the existing capacity, percentage and
> node-list parser.
>
> Save the arguments during early parsing and process them at reservation
> time, after architecture-specific page-size information has been
> initialized.
>
> Assisted-by: LLM
> Signed-off-by: Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx>
this LGTM so:
Reviewed-by: Jose A. Perez de Azpillaga <azpijr@xxxxxxxxx>
--
cheers,
jose a. p-a