KVM: x86: Shrink struct kvm_pmu
authorMathias Krause <minipli@grsecurity.net>
Fri, 17 Feb 2023 19:33:35 +0000 (20:33 +0100)
committerSean Christopherson <seanjc@google.com>
Thu, 23 Mar 2023 23:10:01 +0000 (16:10 -0700)
commit12aad9164763bb4890277d3b2a4664f443a48e3f
treec44b6e178ee74a84eecf8a0f23fbbb1f14f4601e
parentd8708b80fa0e6e21bc0c9e7276ad0bccef73b6e7
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>
arch/x86/include/asm/kvm_host.h