Files
android_kernel_xiaomi_sm8450/arch/powerpc/include/asm
Suraj Jitindar Singh 7b5f8272c7 KVM: PPC: Book3S HV: Change vcore element runnable_threads from linked-list to array
The struct kvmppc_vcore is a structure used to store various information
about a virtual core for a kvm guest. The runnable_threads element of the
struct provides a list of all of the currently runnable vcpus on the core
(those in the KVMPPC_VCPU_RUNNABLE state). The previous implementation of
this list was a linked_list. The next patch requires that the list be able
to be iterated over without holding the vcore lock.

Reimplement the runnable_threads list in the kvmppc_vcore struct as an
array. Implement function to iterate over valid entries in the array and
update access sites accordingly.

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2016-09-08 12:21:44 +10:00
..
2016-01-12 20:46:53 +02:00
2011-03-31 11:26:23 -03:00
2015-07-13 10:10:54 +10:00
2013-04-18 13:03:53 +10:00
2015-05-28 15:31:53 +02:00
2016-06-21 15:30:56 +10:00
2014-04-09 12:53:28 +10:00
2012-03-28 18:30:02 +01:00
2011-11-08 14:51:46 +11:00
2014-06-25 18:49:40 -05:00
2015-01-12 05:04:13 -08:00
2015-02-03 18:47:18 +01:00
2016-03-04 23:50:27 -06:00
2014-11-03 12:12:32 +11:00
2016-03-01 19:27:20 +11:00
2016-03-01 19:27:20 +11:00
2015-02-23 14:52:04 +11:00
2015-10-06 14:52:48 -04:00
2011-07-26 16:49:47 -07:00
2013-12-09 11:40:25 +11:00
2016-07-19 20:17:07 +10:00
2011-03-31 11:26:23 -03:00
2016-05-11 21:53:49 +10:00
2016-06-14 13:58:26 +10:00
2016-06-21 15:30:56 +10:00
2016-06-14 13:58:26 +10:00
2016-06-14 13:58:26 +10:00
2016-08-01 11:15:03 +10:00
2013-11-06 14:13:49 +11:00
2012-09-17 16:31:51 +10:00
2011-03-31 11:26:23 -03:00
2016-07-21 18:51:42 +10:00
2016-06-14 13:58:26 +10:00
2014-02-17 11:19:37 +11:00
2015-05-05 13:35:39 -06:00