[PATCH v2 0/2] KVM: Minor structure layout changes

From: Mathias Krause
Date: Fri Feb 17 2023 - 14:31:32 EST


v1: https://lore.kernel.org/kvm/20230213163351.30704-1-minipli@xxxxxxxxxxxxxx/

This used to be a more exhaustive patch set shrinking kvm_vcpu's size.
But we concluded that this would be too fragile to maintain and would
require a more radical layout change to group often used members
together instead of chopping off individual padding bytes.

The remaining two patches are nonetheless useful, as they either make
the structure layout a more natural fit (as for kvm_pmu, putting the
version atop) or removing pointless padding (kvm_mmu_memory_cache).

Please apply!

Thanks,

Mathias Krause (2):
KVM: x86: Shrink struct kvm_pmu
KVM: Shrink struct kvm_mmu_memory_cache

arch/x86/include/asm/kvm_host.h | 2 +-
include/linux/kvm_types.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

--
2.39.1