[PATCHv7 05/18] riscv/mm: Align vmemmap to maximal folio size
David Hildenbrand (Arm)
david at kernel.org
Mon Mar 16 09:30:48 PDT 2026
On 2/27/26 20:42, Kiryl Shutsemau (Meta) wrote:
> From: Kiryl Shutsemau <kas at kernel.org>
>
> The upcoming change to the HugeTLB vmemmap optimization (HVO) requires
> struct pages of the head page to be naturally aligned with regard to the
> folio size.
>
> Align vmemmap to the newly introduced MAX_FOLIO_VMEMMAP_ALIGN.
>
> Signed-off-by: Kiryl Shutsemau <kas at kernel.org>
> ---
Acked-by: David Hildenbrand (Arm) <david at kernel.org>
--
Cheers,
David
More information about the linux-riscv
mailing list