diff options
| author | David Matlack <[email protected]> | 2022-01-25 23:05:16 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-02-10 13:50:32 -0500 |
| commit | 006100212d7f1d608a97af37bf218d87afb80db6 (patch) | |
| tree | cc9ea47cee2605445ab0a96613e22d9a3aa0db44 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 115111efd97c6c0e86f8b5904c6624fddcfe4f34 (diff) | |
KVM: x86/mmu: Move is_writable_pte() to spte.h
Move is_writable_pte() close to the other functions that check
writability information about SPTEs. While here opportunistically
replace the open-coded bit arithmetic in
check_spte_writable_invariants() with a call to is_writable_pte().
No functional change intended.
Suggested-by: Sean Christopherson <[email protected]>
Signed-off-by: David Matlack <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions