diff options
author | Vipin Sharma <vipinsh@google.com> | 2023-03-22 01:00:09 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-04-04 22:37:30 +0300 |
commit | 41e07665f1a683064f4c69b0d652dff1baf5d689 (patch) | |
tree | c4afdb7b81cbacd4c969703e4e8d8167d765056d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 50f13998451effea5c5fdc70fe576f8b435d6224 (diff) | |
download | linux-41e07665f1a683064f4c69b0d652dff1baf5d689.tar.xz |
KVM: x86/mmu: Add a helper function to check if an SPTE needs atomic write
Move conditions in kvm_tdp_mmu_write_spte() to check if an SPTE should
be written atomically or not to a separate function.
This new function, kvm_tdp_mmu_spte_need_atomic_write(), will be used
in future commits to optimize clearing bits in SPTEs.
Signed-off-by: Vipin Sharma <vipinsh@google.com>
Reviewed-by: David Matlack <dmatlack@google.com>
Reviewed-by: Ben Gardon <bgardon@google.com>
Link: https://lore.kernel.org/r/20230321220021.2119033-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions