commit | 2bdb3d84cebca2e3b482788615ff1559bc8cedb5 | [log] [tgz] |
---|---|---|
author | Ben Gardon <bgardon@google.com> | Thu Apr 01 16:37:27 2021 -0700 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Apr 19 09:05:24 2021 -0400 |
tree | 3c426d2a505829316bf5f3a749769797abdfc16b | |
parent | 4bba36d72bf95038727d091a64dcb524dccc5da1 [diff] |
KVM: x86/mmu: Merge TDP MMU put and free root kvm_tdp_mmu_put_root and kvm_tdp_mmu_free_root are always called together, so merge the functions to simplify TDP MMU root refcounting / freeing. Signed-off-by: Ben Gardon <bgardon@google.com> Message-Id: <20210401233736.638171-5-bgardon@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>