diff options
| author | 2020-04-27 19:37:14 -0700 | |
|---|---|---|
| committer | 2020-05-15 12:26:12 -0400 | |
| commit | 8123f265248c85603d55f4e97c68576f45eb1e4d (patch) | |
| tree | b81cdf26af336eda4370c7207a408df1b3ea8caa /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | KVM: x86/mmu: Drop KVM's hugepage enums in favor of the kernel's enums (diff) | |
| download | linux-dev-8123f265248c85603d55f4e97c68576f45eb1e4d.tar.xz linux-dev-8123f265248c85603d55f4e97c68576f45eb1e4d.zip | |
KVM: x86/mmu: Add a helper to consolidate root sp allocation
Add a helper, mmu_alloc_root(), to consolidate the allocation of a root
shadow page, which has the same basic mechanics for all flavors of TDP
and shadow paging.
Note, __pa(sp->spt) doesn't need to be protected by mmu_lock, sp->spt
points at a kernel page.
No functional change intended.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200428023714.31923-1-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
