diff options
author | 2020-01-08 12:24:47 -0800 | |
---|---|---|
committer | 2020-01-27 20:00:09 +0100 | |
commit | 2c0629f4b95cf5adf5b6f78f7d318df894b5f9a1 (patch) | |
tree | 2cee3961016c84c322f365ebdcd60cb555124306 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86/mmu: Fold max_mapping_level() into kvm_mmu_hugepage_adjust() (diff) | |
download | linux-dev-2c0629f4b95cf5adf5b6f78f7d318df894b5f9a1.tar.xz linux-dev-2c0629f4b95cf5adf5b6f78f7d318df894b5f9a1.zip |
KVM: x86/mmu: Remove lpage_is_disallowed() check from set_spte()
Remove the late "lpage is disallowed" check from set_spte() now that the
initial check is performed after acquiring mmu_lock. Fold the guts of
the remaining helper, __mmu_gfn_lpage_is_disallowed(), into
kvm_mmu_hugepage_adjust() to eliminate the unnecessary slot !NULL check.
Signed-off-by: Sean Christopherson <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