aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorDavid Matlack <[email protected]>2016-03-09 00:19:44 +0000
committerPaolo Bonzini <[email protected]>2016-03-09 10:54:14 +0000
commit313f636d5c490c9741d3f750dc8da33029edbc6b (patch)
tree56e9b7133f98991b710c8776712a2e574c41b78c /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentKVM: s390: correct fprs on SIGP (STOP AND) STORE STATUS (diff)
downloadkernel-313f636d5c490c9741d3f750dc8da33029edbc6b.tar.gz
kernel-313f636d5c490c9741d3f750dc8da33029edbc6b.zip
kvm: cap halt polling at exactly halt_poll_ns
When growing halt-polling, there is no check that the poll time exceeds the limit. It's possible for vcpu->halt_poll_ns grow once past halt_poll_ns, and stay there until a halt which takes longer than vcpu->halt_poll_ns. For example, booting a Linux guest with halt_poll_ns=11000: ... kvm:kvm_halt_poll_ns: vcpu 0: halt_poll_ns 0 (shrink 10000) ... kvm:kvm_halt_poll_ns: vcpu 0: halt_poll_ns 10000 (grow 0) ... kvm:kvm_halt_poll_ns: vcpu 0: halt_poll_ns 20000 (grow 10000) Signed-off-by: David Matlack <[email protected]> Fixes: aca6ff29c4063a8d467cdee241e6b3bf7dc4a171 Cc: [email protected] Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions