diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-04-27 19:37:14 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-05-15 12:26:12 -0400 |
commit | 8123f265248c85603d55f4e97c68576f45eb1e4d (patch) | |
tree | b81cdf26af336eda4370c7207a408df1b3ea8caa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3bae0459bcd559506a2ca5807040ff722de5b136 (diff) |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions