aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kvm/pmu.c
diff options
context:
space:
mode:
authorGravatar Mathias Krause <minipli@grsecurity.net> 2023-02-17 20:33:35 +0100
committerGravatar Sean Christopherson <seanjc@google.com> 2023-03-23 16:10:01 -0700
commit12aad9164763bb4890277d3b2a4664f443a48e3f (patch)
treec44b6e178ee74a84eecf8a0f23fbbb1f14f4601e /arch/x86/kvm/pmu.c
parentKVM: Change return type of kvm_arch_vm_ioctl() to "int" (diff)
downloadlinux-12aad9164763bb4890277d3b2a4664f443a48e3f.tar.gz
linux-12aad9164763bb4890277d3b2a4664f443a48e3f.tar.bz2
linux-12aad9164763bb4890277d3b2a4664f443a48e3f.zip
KVM: x86: Shrink struct kvm_pmu
Move the 'version' member to the beginning of the structure to reuse an existing hole instead of introducing another one. This allows us to save 8 bytes for 64 bit builds. Signed-off-by: Mathias Krause <minipli@grsecurity.net> Link: https://lore.kernel.org/r/20230217193336.15278-2-minipli@grsecurity.net Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'arch/x86/kvm/pmu.c')
0 files changed, 0 insertions, 0 deletions