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

Marc Zyngier <[email protected]>
Newsgroups dev.linux.lists.kvmarm,org.kernel.vger.kvm,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
+ 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.

	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.