diff options
| author | Sean Christopherson <[email protected]> | 2022-10-19 16:56:18 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-11-09 12:31:34 -0500 |
| commit | 3a05675722250a522c148f6de0cc190f407c4bb5 (patch) | |
| tree | e953808a089b6e7b2295d858f0faa4c5236663be /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 76901e56fb517db61939efdf54e9581b117d615d (diff) | |
KVM: x86/mmu: WARN if TDP MMU SP disallows hugepage after being zapped
Extend the accounting sanity check in kvm_recover_nx_huge_pages() to the
TDP MMU, i.e. verify that zapping a shadow page unaccounts the disallowed
NX huge page regardless of the MMU type. Recovery runs while holding
mmu_lock for write and so it should be impossible to get false positives
on the WARN.
Suggested-by: Yan Zhao <[email protected]>
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