Re: [PATCHv6 09/17] mm/sparse: Check memmap alignment for compound_info_has_mask()

Muchun Song
2026-02-03T03:36:18Z

> On Feb 2, 2026, at 23:56, Kiryl Shutsemau <kas@kernel.org> wrote:
>
> If page->compound_info encodes a mask, it is expected that vmemmap to be
> naturally aligned to the maximum folio size.
>
> Add a VM_BUG_ON() to check the alignment.
>
> Signed-off-by: Kiryl Shutsemau <kas@kernel.org>
> Acked-by: Zi Yan <ziy@nvidia.com>

Reviewed-by: Muchun Song <muchun.song@linux.dev>