Files
kernel_oneplus_sm8250/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
..
2019-12-13 08:51:18 +01:00
2021-04-14 08:22:36 +02:00
2018-06-15 18:10:01 -03:00
2019-10-05 13:10:03 +02:00
2019-07-03 13:14:48 +02:00
2018-06-15 18:10:01 -03:00
2018-06-19 10:06:29 -07:00
2018-08-22 10:52:48 -07:00
2021-02-10 09:21:06 +01:00
2019-11-24 08:19:14 +01:00
2018-07-12 10:04:29 -04:00
2021-01-30 13:32:13 +01:00
2018-07-27 09:57:23 +10:00
2021-01-30 13:32:12 +01:00
2018-06-28 20:32:51 +09:00
2019-10-17 13:45:42 -07:00
2021-05-22 10:59:50 +02:00
2018-08-08 11:06:20 +02:00
2018-06-22 13:43:27 +09:00
2019-12-13 08:52:43 +01:00
2021-03-04 09:39:44 +01:00
2021-02-07 14:48:38 +01:00
2018-07-12 21:35:28 +02:00
2019-12-31 16:35: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
2018-08-22 10:52:45 -07:00
2018-07-10 17:22:35 +02:00
2021-09-03 09:58:00 +02:00
2018-07-19 11:34:23 +01:00
2020-03-18 07:14:17 +01:00
2018-07-21 10:43:12 -05:00
2019-06-11 12:20:52 +02:00
2018-07-20 01:11:45 +02:00
2018-06-29 08:48:06 -06:00
2021-01-30 13:32:12 +01:00
2020-04-02 15:28:22 +02:00
2018-07-07 17:25:23 +02:00
2018-08-16 12:14:42 -07:00
2018-06-20 11:35:56 +02:00
2018-11-13 11:08:51 -08:00
2020-12-11 13:25:01 +01:00
2020-04-02 15:28:23 +02:00