]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Repack struct kvm_pmu to reduce size
authorFuad Tabba <tabba@google.com>
Tue, 10 May 2022 09:57:08 +0000 (09:57 +0000)
committerMarc Zyngier <maz@kernel.org>
Sun, 15 May 2022 10:24:17 +0000 (11:24 +0100)
commit9453e36d0f4a2e9c35364d79992713dab57a4299
tree7205c1ae87642430800bac880003c9b20230954d
parent3e8028a42a8647fe8b3054876ad9ba198e195fdd
KVM: arm64: Repack struct kvm_pmu to reduce size

struct kvm_pmu has 2 holes using 10 bytes. This is instantiated
in all vcpus, so it adds up. Repack the structures to remove the
holes.

No functional change intended.

Reviewed-by: Oliver Upton <oupton@google.com>
Signed-off-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220510095710.148178-3-tabba@google.com
include/kvm/arm_pmu.h