Loading
KVM: arm64: Exclude host_debug_data from vcpu_arch
mainline inclusion from mainline-v6.9-rc1 commit 6db55734ec4008da39e10d2fffa913fd9751ccaa category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8EC9K CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6db55734ec4008da39e10d2fffa913fd9751ccaa -------------------------------- Keeping host_debug_state on a per-vcpu basis is completely pointless. The lifetime of this data is only that of the inner run-loop, which means it is never accessed outside of the core EL2 code. Move the structure into kvm_host_data, and save over 500 bytes per vcpu. Reviewed-by:Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by:
Marc Zyngier <maz@kernel.org> Signed-off-by:
Junhao He <hejunhao3@huawei.com>