summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-09-02 16:20:28 -0700
committerSean Christopherson <seanjc@google.com>2026-09-11 15:42:03 -0700
commit47b437b2d903137d547365391c7a5153b01dee6a (patch)
treea83dd5ee21384cd0ca879d9cdb92c942eac0098f /tools/perf/scripts/python/task-analyzer.py
parent34dacbe7ae93f2d3c26cd0bf3e08200b1fa2c180 (diff)
KVM: x86/mmu: Convert MMU walker's bounds check from BUG_ON() to KVM_BUG_ON()
Bug the VM, not the host, if KVM's sanity check that walking guest PTEs doesn't underflow the walker's level fires. Bugging the host while holding mmu_lock is all but guaranteed to panic the host, KVM hasn't _yet_ consumed the out-of-bounds level (i.e. hasn't corrupted memory), and KVM is already committed to bugging the VM and synthesizing a guest page fault if a fatal MMU error occurs while walking guest PTEs. I.e. there's no reason to keep the BUG_ON() at this point. Link: https://patch.msgid.link/20260902232028.2767071-6-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions