aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorLi zeming <[email protected]>2023-09-05 18:20:06 +0000
committerSean Christopherson <[email protected]>2023-10-18 21:34:28 +0000
commit1de9992f9de0a92b6e11133aba0e2be833c11084 (patch)
tree535552bfb3636e440a654188008c6f66e9c03ca6 /scripts/gdb/vmlinux-gdb.py
parentKVM: VMX: drop IPAT in memtype when CD=1 for KVM_X86_QUIRK_CD_NW_CLEARED (diff)
downloadkernel-1de9992f9de0a92b6e11133aba0e2be833c11084.tar.gz
kernel-1de9992f9de0a92b6e11133aba0e2be833c11084.zip
KVM: x86/mmu: Remove unnecessary ‘NULL’ values from sptep
Don't initialize "spte" and "sptep" in fast_page_fault() as they are both guaranteed (for all intents and purposes) to be written at the start of every loop iteration. Add a sanity check that "sptep" is non-NULL after walking the shadow page tables, as encountering a NULL root would result in "spte" not being written, i.e. would lead to uninitialized data or the previous value being consumed. Signed-off-by: Li zeming <[email protected]> Link: https://lore.kernel.org/r/[email protected] [sean: rewrite changelog with --verbose] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions