Re: [PATCH] arch,x86: Skip setting align_offset for hugetlb mappings

From: Oscar Salvador (SUSE)

Date: Thu Jun 04 2026 - 11:13:51 EST


On Mon, Jun 01, 2026 at 01:25:12PM -0700, Dave Hansen wrote:
> Oscar, even if the real fix involves a couple of patches, can we please
> see that, first? Then, we can go back and make an informed decision
> about hacks versus proper fixes.

Fix sits here [1].
It is quite straightforward, is arch-agnostic and I can confirm it fixes
the AMD regression.
It is part of a 8-patch series [2] (#1 is the fix and follow up are
cleanups).

I shall send it once I confirm that some more tests pass.

[1] https://github.com/leberus/linux/commit/fd6ac9d2af4d0acd27c6b2a840a6d9e6ad4bc4a6
[2] https://github.com/leberus/linux/ hugetlb-refactor-mask-align


--
Oscar Salvador
SUSE Labs