Re: [PATCH] KVM: selftests: arm64: Skip sea_to_user without 1GB hugepages

Jiaqi Yan <[email protected]>
Newsgroups dev.linux.lists.kvmarm,org.kernel.vger.kvm,org.kernel.vger.linux-kernel
Message-ID <CACw3F53-_kQV34Rtjc_ZLnS8=SNyPzW5PfRbczEAGGF2oRZ5wA@mail.gmail.com>
On Mon, Aug 17, 2026 at 1:53 AM Marc Zyngier <[email protected]> wrote:
>
> + Jiaqi.
>
> On Mon, 17 Aug 2026 09:07:59 +0100,
> Like Xu <[email protected]> wrote:
> >
> > sea_to_user backs guest memory with 1GB hugepages but never checks any
> > are reserved, aborting instead of skipping when the host has none:
> >
> >   kvm_syscalls.h:68: mem != MAP_FAILED, errno=12 (ENOMEM)
> >   not ok 1 selftests: kvm: sea_to_user # exit=254
> >
> > Check for enough free hugepages up front so the test skips cleanly.
>
> See my comments at [1].
>
> This test is totally borked, and Jiaqi stopped replying. It is a
> liability, and I'd like it *removed*. But if you want to fix it,
> please go ahead.

Sorry the test was written in a way that is highly customized to my
testing environment, and I have been occupied with many other
work-related tasks.

Like, I can help review the patches for the test during this weekend,
if that's not too late for you.

>
>         M.
>
> [1] https://lore.kernel.org/all/[email protected]/
>
> --
> Without deviation from the norm, progress is not possible.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.