summaryrefslogtreecommitdiffstats
path: root/Documentation/accelerators
diff options
context:
space:
mode:
authorNir Weiner <nir.weiner@oracle.com>2019-01-27 11:17:14 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-02-20 22:48:50 +0100
commit7fa08e71b4a0591a518814fa78b32e124f90d587 (patch)
treef8b66306b476c5b6e833bceef8a0434bc9116652 /Documentation/accelerators
parentKVM: x86/mmu: Consolidate kvm_mmu_zap_all() and kvm_mmu_zap_mmio_sptes() (diff)
downloadlinux-7fa08e71b4a0591a518814fa78b32e124f90d587.tar.xz
linux-7fa08e71b4a0591a518814fa78b32e124f90d587.zip
KVM: grow_halt_poll_ns() should never shrink vCPU halt_poll_ns
grow_halt_poll_ns() have a strange behavior in case (halt_poll_ns_grow == 0) && (vcpu->halt_poll_ns != 0). In this case, vcpu->halt_pol_ns will be set to zero. That results in shrinking instead of growing. Fix issue by changing grow_halt_poll_ns() to not modify vcpu->halt_poll_ns in case halt_poll_ns_grow is zero Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Reviewed-by: Liran Alon <liran.alon@oracle.com> Signed-off-by: Nir Weiner <nir.weiner@oracle.com> Suggested-by: Liran Alon <liran.alon@oracle.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Documentation/accelerators')
0 files changed, 0 insertions, 0 deletions