summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-03-04 17:10:49 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2021-03-15 04:42:17 -0400
commit748e52b9b7368017d3fccb486914804ed4577b42 (patch)
tree06031b22a011c7be6001761e4320c260c600f0d3 /tools/perf/scripts/python
parentba0a194ffbfb4168a277fb2116e8362013e2078f (diff)
downloadlinux-748e52b9b7368017d3fccb486914804ed4577b42.tar.gz
linux-748e52b9b7368017d3fccb486914804ed4577b42.zip
KVM: x86/mmu: Allocate pae_root and lm_root pages in dedicated helper
Move the on-demand allocation of the pae_root and lm_root pages, used by nested NPT for 32-bit L1s, into a separate helper. This will allow a future patch to hold mmu_lock while allocating the non-special roots so that make_mmu_pages_available() can be checked once at the start of root allocation, and thus avoid having to deal with failure in the middle of root allocation. Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210305011101.3597423-6-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions