aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2021-03-04 17:10:52 -0800
committerPaolo Bonzini <[email protected]>2021-03-15 04:42:20 -0400
commite49e0b7bf370ebed369f7f0466f349aac5ff12f1 (patch)
treeace7bff23f74ddee77b08dc27bef5be48d99cc6d /tools/perf/scripts/python/bin/stackcollapse-record
parent6e0918aec49a5f89ca22c60c60cb5d20d8c9af29 (diff)
KVM: x86/mmu: Fix and unconditionally enable WARNs to detect PAE leaks
Exempt NULL PAE roots from the check to detect leaks, since kvm_mmu_free_roots() doesn't set them back to INVALID_PAGE. Stop hiding the WARNs to detect PAE root leaks behind MMU_WARN_ON, the hidden WARNs obviously didn't do their job given the hilarious number of bugs that could lead to PAE roots being leaked, not to mention the above false positive. Opportunistically delete a warning on root_hpa being valid, there's nothing special about 4/5-level shadow pages that warrants a WARN. 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/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions