OSDN Git Service

KVM: x86/mmu: Factor out functions to add/remove TDP MMU pages
authorBen Gardon <bgardon@google.com>
Tue, 2 Feb 2021 18:57:25 +0000 (10:57 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Feb 2021 10:27:44 +0000 (05:27 -0500)
commita9442f594147f95307f691cfba0c31e25dc79b9d
treeb50708a83e8a4be9a65deab226c7db3e81c2980e
parent531810caa9f4bc99ffbb90e09256792c56a6b07a
KVM: x86/mmu: Factor out functions to add/remove TDP MMU pages

Move the work of adding and removing TDP MMU pages to/from  "secondary"
data structures to helper functions. These functions will be built on in
future commits to enable MMU operations to proceed (mostly) in parallel.

No functional change expected.

Signed-off-by: Ben Gardon <bgardon@google.com>
Message-Id: <20210202185734.1680553-20-bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/tdp_mmu.c