Re: [PATCH v3 2/6] KVM: s390: Add alignment checks for hugepages

Steffen Eiden
2026-04-07T12:30:22Z

On Thu, Apr 02, 2026 at 05:01:31PM +0200, Claudio Imbrenda wrote:
> When backing a guest page with a large page, check that the alignment
> of the guest page matches the alignment of the host physical page
> backing it within the large page.
>
> Also check that the memslot is large enough to fit the large page.
>
> Those checks are currently not needed, because memslots are guaranteed
> to be 1m-aligned, but this will change.
>
> Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>

Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>