diff options
| author | 2022-01-25 23:05:16 +0000 | |
|---|---|---|
| committer | 2022-02-10 13:50:32 -0500 | |
| commit | 006100212d7f1d608a97af37bf218d87afb80db6 (patch) | |
| tree | cc9ea47cee2605445ab0a96613e22d9a3aa0db44 /tools/perf/scripts/python/bin/flamegraph-record | |
| parent | KVM: x86/mmu: Check SPTE writable invariants when setting leaf SPTEs (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 <seanjc@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220125230518.1697048-4-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions
