android_kernel_motorola_sm6375/virt/kvm
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Radim Krčmář b0c813fbbf KVM: remember position in kvm->vcpus array
commit 8750e72a79dda2f665ce17b62049f4d62130d991 upstream.

Fetching an index for any vcpu in kvm->vcpus array by traversing
the entire array everytime is costly.
This patch remembers the position of each vcpu in kvm->vcpus array
by storing it in vcpus_idx under kvm_vcpu structure.

Signed-off-by: Radim Krčmář <[email protected]>
Signed-off-by: Nitesh Narayan Lal <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
[[email protected]]: backport to 4.19 (also fits for 5.4)
Signed-off-by: Christian Borntraeger <[email protected]>
Acked-by: Paolo Bonzini <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2021-09-26 14:07:05 +02:00
..
arm KVM: arm64: Handle PSCI resets before userspace touches vCPU state 2021-09-22 12:26:45 +02:00
async_pf.c KVM: x86: Use gpa_t for cr2/gpa to fix TDP support on 32-bit KVM 2020-02-11 04:35:53 -08:00
async_pf.h
coalesced_mmio.c KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio 2021-07-20 16:10:40 +02:00
coalesced_mmio.h
eventfd.c
irqchip.c KVM/arm updates for 5.3 2019-07-11 15:14:16 +02:00
Kconfig
kvm_main.c KVM: remember position in kvm->vcpus array 2021-09-26 14:07:05 +02:00
vfio.c
vfio.h