diff options
author | Michal Luczaj <mhal@rbox.co> | 2023-01-07 01:12:53 +0100 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-02-03 15:30:32 -0800 |
commit | 4d85cfcaa82f0ceb5dcb7ad369a2cc7efb32c65c (patch) | |
tree | d353abb30029116ac030cd4d0dd364661a4d8bee /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | 708f799d22fe6b69d2e6e3e0625c30666d5e798a (diff) |
KVM: x86: Simplify msr_filter update
Replace srcu_dereference()+rcu_assign_pointer() sequence with
a single rcu_replace_pointer().
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Michal Luczaj <mhal@rbox.co>
Link: https://lore.kernel.org/r/20230107001256.2365304-4-mhal@rbox.co
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