diff options
author | Michal Luczaj <[email protected]> | 2023-01-07 01:12:52 +0100 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2023-02-03 15:30:17 -0800 |
commit | 708f799d22fe6b69d2e6e3e0625c30666d5e798a (patch) | |
tree | d8c5d7356311c60c71776cd9fac0f42a05a6092c /tools/perf/scripts/python/stackcollapse.py | |
parent | 95744a90db18437410aa94620b8a330311bd9cf6 (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 <[email protected]>
Suggested-by: Sean Christopherson <[email protected]>
Signed-off-by: Michal Luczaj <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[sean: expand changelog]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions