Files
android_kernel_fxtec_sm6115/include/linux
Radim Krčmář 41d2efaed5 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ář <rkrcmar@redhat.com>
Signed-off-by: Nitesh Narayan Lal <nitesh@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
[borntraeger@de.ibm.com]: backport to 4.19 (also fits for 5.4)
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-26 13:39:46 +02:00
..
2021-04-14 08:22:36 +02:00
2021-02-10 09:21:06 +01:00
2021-01-30 13:32:13 +01:00
2021-01-30 13:32:12 +01:00
2021-05-22 10:59:50 +02:00
2021-03-04 09:39:44 +01:00
2021-02-07 14:48:38 +01:00
2021-07-11 12:49:26 +02:00
2020-07-29 10:16:52 +02:00
2021-06-30 08:48:18 -04:00
2021-09-03 09:58:00 +02:00
2021-01-30 13:32:12 +01:00
2020-12-11 13:25:01 +01:00