Re: [PATCH] ARM: mm: align hugetlb mappings to the huge page size

From: Karl Mehltretter

Date: Sat Sep 26 2026 - 12:20:16 EST


On Thu, Sep 24, 2026 at 04:41:30PM +0100, Muchun Song wrote:
> > Fixes: 7bd3f1e1a9ae ("mm: make hugetlb mappings go through mm_get_unmapped_area_vmflags")
> > Cc: stable@xxxxxxxxxxxxxxx
> > Assisted-by: LLM
> > Signed-off-by: Karl Mehltretter <kmehltretter@xxxxxxxxx>
>
> Besides 32-bit Arm, the same regression appears to affect MIPS and
> SuperH: both support HugeTLB and provide custom arch_get_unmapped_area*()
> implementations that only enforce cache-colouring alignment, not the
> hstate’s huge-page alignment.
>
> Acked-by: Muchun Song <muchun.song@xxxxxxxxx>

Hi Muchun,

Thanks for the ack. I've now submitted the patch to Russell's
patch tracker:

https://www.armlinux.org.uk/developer/patches/viewpatch.php?id=9524/1

I'll also take a look at the MIPS and SuperH cases you mentioned.

Karl