aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorMichal Luczaj <mhal@rbox.co>2023-01-07 01:12:52 +0100
committerSean Christopherson <seanjc@google.com>2023-02-03 15:30:17 -0800
commit708f799d22fe6b69d2e6e3e0625c30666d5e798a (patch)
treed8c5d7356311c60c71776cd9fac0f42a05a6092c /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parent95744a90db18437410aa94620b8a330311bd9cf6 (diff)
KVM: x86: Optimize kvm->lock and SRCU interaction (KVM_X86_SET_MSR_FILTER)
Reduce time spent holding kvm->lock: unlock mutex before calling synchronize_srcu(). There is no need to hold kvm->lock until all vCPUs have been kicked, KVM only needs to guarantee that all vCPUs will switch to the new filter before exiting to userspace. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Suggested-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Michal Luczaj <mhal@rbox.co> Link: https://lore.kernel.org/r/20230107001256.2365304-3-mhal@rbox.co [sean: expand changelog] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions