Re: [PATCH 1/2] mm: hugetlb: add hugetlb_alloc_threads cmdline option
From: Thomas Prescher
Date: Tue Feb 25 2025 - 08:03:01 EST
On Mon, 2025-02-24 at 09:37 -0800, Frank van der Linden wrote:
>
> Maybe mention that this does not apply to 'gigantic' hugepages (e.g.
> hugetlb pages of an order > MAX_PAGE_ORDER). Those are allocated
> earlier in boot by memblock, in a single-threaded environment.
>
> Not your fault that this distinction between these types of hugetlb
> pages isn't clear in the Docs, of course. Only hugetlb_cma mentions
> that it is for gigantic pages. But it's probably best to mention that
> the threads parameter is for non-gigantic hugetlb pages only.
>
> - Frank
Very good point. I will update the documentation accordingly.