summaryrefslogtreecommitdiff
path: root/rust/helpers/vmalloc.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2025-01-10 16:50:45 -0800
committerSean Christopherson <seanjc@google.com>2025-02-14 07:02:09 -0800
commite65faf71bd54ac957aed3c2e81a964fea63f3e82 (patch)
treefc73eefd030e0bb1b9ab08651619a6f199d91064 /rust/helpers/vmalloc.c
parentb0c3f5df92913de6b9936cb0707cf1c8cdad66a2 (diff)
KVM: selftests: Add struct and helpers to wrap binary stats cache
Add a struct and helpers to manage the binary stats cache, which is currently used only for VM-scoped stats. This will allow expanding the selftests infrastructure to provide support for vCPU-scoped binary stats, which, except for the ioctl to get the stats FD are identical to VM-scoped stats. Defer converting __vm_get_stat() to a scope-agnostic helper to a future patch, as getting the stats FD from KVM needs to be moved elsewhere before it can be made completely scope-agnostic. Link: https://lore.kernel.org/r/20250111005049.1247555-6-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions