aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2021-03-04 17:10:48 -0800
committerPaolo Bonzini <[email protected]>2021-03-15 04:42:16 -0400
commitba0a194ffbfb4168a277fb2116e8362013e2078f (patch)
tree0b76d8f81869cc7538dc1c7fcb5edfc85bae3d9a /tools/perf/scripts/python
parentb37233c911cbecd22a8a2a80137efe706c727d76 (diff)
KVM: x86/mmu: Allocate the lm_root before allocating PAE roots
Allocate lm_root before the PAE roots so that the PAE roots aren't leaked if the memory allocation for the lm_root happens to fail. Note, KVM can still leak PAE roots if mmu_check_root() fails on a guest's PDPTR, or if mmu_alloc_root() fails due to MMU pages not being available. Those issues will be fixed in future commits. 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