New: selftest kvm:guest_memfd_test returns 22 (Invalid argument) when the number of NUMA nodes are larger than 8
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: [email protected]
Reporter: [email protected]
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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 221014] selftest kvm:guest_memfd_test returns 22 (Invalid argument) when the number of NUMA nodes are larger than 8
https://bugzilla.kernel.org/show_bug.cgi?id=221014
Yi Lai ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|All |Intel
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.