]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0e50779c45d1198fa77f712726a6805d86c0ca0d
treeb50708a83e8a4be9a65deab226c7db3e81c2980e
parenta6b39cf034e2f4b056b129d51417b4f6aee2128c
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