aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2020-09-23 11:37:35 -0700
committerPaolo Bonzini <[email protected]>2020-09-28 07:57:43 -0400
commite88b8093698f264c990a19f792aa409fd33fb35d (patch)
treec6d2f3d5aa9950cd61616b60604d22b9b8f66c05 /tools/perf/scripts/python
parentdcc7065170d7018d9db1748d04026b2f4ce664dd (diff)
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 <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions