diff options
author | 2022-02-26 00:15:28 +0000 | |
---|---|---|
committer | 2022-03-08 09:31:52 -0500 | |
commit | 0e587aa7335588ac5e12ef707f7979ff91b11751 (patch) | |
tree | 832b7a195e3aa0b7989cfab3f5b408bb480b7178 /tools/perf/scripts/python/stackcollapse.py | |
parent | KVM: x86/mmu: Drop RCU after processing each root in MMU notifier hooks (diff) | |
download | linux-dev-0e587aa7335588ac5e12ef707f7979ff91b11751.tar.xz linux-dev-0e587aa7335588ac5e12ef707f7979ff91b11751.zip |
KVM: x86/mmu: Add helpers to read/write TDP MMU SPTEs and document RCU
Add helpers to read and write TDP MMU SPTEs instead of open coding
rcu_dereference() all over the place, and to provide a convenient
location to document why KVM doesn't exempt holding mmu_lock for write
from having to hold RCU (and any future changes to the rules).
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Ben Gardon <bgardon@google.com>
Message-Id: <20220226001546.360188-11-seanjc@google.com>
Reviewed-by: Mingwei Zhang <mizhang@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions