[PATCH v12 08/12] KVM: selftests: Add additional equivalents to libnuma APIs in KVM's numaif.h
Ackerley Tng
ackerleytng at google.com
Thu Oct 9 15:34:44 PDT 2025
Sean Christopherson <seanjc at google.com> writes:
> Add APIs for all syscalls defined in the kernel's mm/mempolicy.c to match
> those that would be provided by linking to libnuma. Opportunistically use
> the recently inroduced KVM_SYSCALL_DEFINE() builders to take care of the
> boilderplate, and to fix a flaw where the two existing wrappers would
Typo in boilderplate!
Reviewed-by: Ackerley Tng <ackerleytng at google.com>
Tested-by: Ackerley Tng <ackerleytng at google.com>
> generate multiple symbols if numaif.h were to be included multiple times.
>
> Signed-off-by: Sean Christopherson <seanjc at google.com>
> ---
> tools/testing/selftests/kvm/include/numaif.h | 36 +++++++++++--------
> .../selftests/kvm/x86/xapic_ipi_test.c | 5 ++-
> 2 files changed, 23 insertions(+), 18 deletions(-)
>
>
> [...snip...]
>
More information about the linux-arm-kernel
mailing list