* [Bug 221014] New: selftest kvm:guest_memfd_test returns 22 (Invalid argument) when the number of NUMA nodes are larger than 8
@ 2026-01-27 6:22 bugzilla-daemon
2026-01-27 6:22 ` [Bug 221014] " bugzilla-daemon
0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2026-01-27 6:22 UTC (permalink / raw)
To: kvm
https://bugzilla.kernel.org/show_bug.cgi?id=221014
Bug ID: 221014
Summary: selftest kvm:guest_memfd_test returns 22 (Invalid
argument) when the number of NUMA nodes are larger
than 8
Product: Virtualization
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: kvm
Assignee: virtualization_kvm@kernel-bugs.osdl.org
Reporter: yi1.lai@intel.com
Regression: No
Kernel under test: https://github.com/torvalds/linux/releases/tag/v6.19-rc7
Test case: selftest kvm:guest_memfd_test
Bug description:
The execution of case kvm:guest_memfd_test returns errno 22 (Invalid argument).
./guest_memfd_test
Random seed: 0x6b8b4567
==== Test Assertion Failure ====
include/numaif.h:13: !r
pid=2028402 tid=2028402 errno=22 - Invalid argument
1 0x0000000000403d2b: kvm_get_mempolicy at numaif.h:13
2 (inlined by) test_mbind at guest_memfd_test.c:95
3 (inlined by) __test_guest_memfd at guest_memfd_test.c:378
4 0x0000000000402b8c: test_guest_memfd at guest_memfd_test.c:399
5 (inlined by) main at guest_memfd_test.c:489
6 0x00007efc8f42a60f: ?? ??:0
7 0x00007efc8f42a6bf: ?? ??:0
8 0x0000000000402db4: _start at ??:?
get_mempolicy failed, rc: -1 errno: 22 (Invalid argument)
The system under test has more than 8 NUMA nodes. When calling the
get_mempolicy() syscall, it uses a fixed value of maxnode (8) for the buffer
size which causes the syscall return error of invalid argument.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug 221014] selftest kvm:guest_memfd_test returns 22 (Invalid argument) when the number of NUMA nodes are larger than 8
2026-01-27 6:22 [Bug 221014] New: selftest kvm:guest_memfd_test returns 22 (Invalid argument) when the number of NUMA nodes are larger than 8 bugzilla-daemon
@ 2026-01-27 6:22 ` bugzilla-daemon
0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2026-01-27 6:22 UTC (permalink / raw)
To: kvm
https://bugzilla.kernel.org/show_bug.cgi?id=221014
Yi Lai (yi1.lai@intel.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|All |Intel
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-27 6:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-27 6:22 [Bug 221014] New: selftest kvm:guest_memfd_test returns 22 (Invalid argument) when the number of NUMA nodes are larger than 8 bugzilla-daemon
2026-01-27 6:22 ` [Bug 221014] " bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox