]> 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)
commit6b26ebc22294729b3145125d284fe6592fd24d48
tree7205c1ae87642430800bac880003c9b20230954d
parentc90331e96ca88808d6f37c6545a9c0001101737a
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