diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-01-08 12:24:47 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-27 20:00:09 +0100 |
commit | 2c0629f4b95cf5adf5b6f78f7d318df894b5f9a1 (patch) | |
tree | 2cee3961016c84c322f365ebdcd60cb555124306 /scripts/bpf_helpers_doc.py | |
parent | 293e306e7faac4eafaefb9518a1cd6eaecad88e9 (diff) |
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 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions