diff options
author | Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com> | 2013-03-04 23:32:27 +0530 |
---|---|---|
committer | Gleb Natapov <gleb@redhat.com> | 2013-03-11 11:37:22 +0200 |
commit | 7bc7ae25b1438bb9fe1f176b951d758789847640 (patch) | |
tree | 47d7e933d79152b9272b101e68bd0ad43c4ec918 /block | |
parent | 3a08a8f9f0936e182d387afd85fdc5d303381521 (diff) |
kvm: Iterate over only vcpus that are preempted
This helps in filtering out the eligible candidates further and
thus potentially helps in quickly allowing preempted lockholders to run.
Note that if a vcpu was spinning during preemption we filter them
by checking whether they are preempted due to pause loop exit.
Reviewed-by: Chegu Vinod <chegu_vinod@hp.com>
Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions