aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorLi RongQing <[email protected]>2021-07-27 11:12:47 +0000
committerPaolo Bonzini <[email protected]>2021-07-27 20:59:01 +0000
commit74775654332b2682a5580d6f954e5a9ac81e7477 (patch)
tree36e5a720e26b554856d3db47524f2369c8bd2d6a /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentKVM: SVM: use vmcb01 in svm_refresh_apicv_exec_ctrl (diff)
downloadkernel-74775654332b2682a5580d6f954e5a9ac81e7477.tar.gz
kernel-74775654332b2682a5580d6f954e5a9ac81e7477.zip
KVM: use cpu_relax when halt polling
SMT siblings share caches and other hardware, and busy halt polling will degrade its sibling performance if its sibling is working Sean Christopherson suggested as below: "Rather than disallowing halt-polling entirely, on x86 it should be sufficient to simply have the hardware thread yield to its sibling(s) via PAUSE. It probably won't get back all performance, but I would expect it to be close. This compiles on all KVM architectures, and AFAICT the intended usage of cpu_relax() is identical for all architectures." Suggested-by: Sean Christopherson <[email protected]> Signed-off-by: Li RongQing <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions