diff options
author | 2023-01-07 01:12:53 +0100 | |
---|---|---|
committer | 2023-02-03 15:30:32 -0800 | |
commit | 4d85cfcaa82f0ceb5dcb7ad369a2cc7efb32c65c (patch) | |
tree | d353abb30029116ac030cd4d0dd364661a4d8bee /tools/perf/scripts/python | |
parent | KVM: x86: Optimize kvm->lock and SRCU interaction (KVM_X86_SET_MSR_FILTER) (diff) | |
download | wireguard-linux-4d85cfcaa82f0ceb5dcb7ad369a2cc7efb32c65c.tar.xz wireguard-linux-4d85cfcaa82f0ceb5dcb7ad369a2cc7efb32c65c.zip |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions