diff options
| author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-09-23 11:37:35 -0700 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-09-28 07:57:43 -0400 |
| commit | e88b8093698f264c990a19f792aa409fd33fb35d (patch) | |
| tree | c6d2f3d5aa9950cd61616b60604d22b9b8f66c05 /tools/perf/scripts/python/bin/export-to-sqlite-record | |
| parent | KVM: x86/mmu: Hoist ITLB multi-hit workaround check up a level (diff) | |
| download | linux-e88b8093698f264c990a19f792aa409fd33fb35d.tar.gz linux-e88b8093698f264c990a19f792aa409fd33fb35d.zip | |
KVM: x86/mmu: Track write/user faults using bools
Use bools to track write and user faults throughout the page fault paths
and down into mmu_set_spte(). The actual usage is purely boolean, but
that's not obvious without digging into all paths as the current code
uses a mix of bools (TDP and try_async_pf) and ints (shadow paging and
mmu_set_spte()).
No true functional change intended (although the pgprintk() will now
print 0/1 instead of 0/PFERR_WRITE_MASK).
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200923183735.584-9-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-record')
0 files changed, 0 insertions, 0 deletions
