]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Factor out handling of removed page tables
authorBen Gardon <bgardon@google.com>
Tue, 2 Feb 2021 18:57:11 +0000 (10:57 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Feb 2021 10:27:39 +0000 (05:27 -0500)
commit46c8962f9945fca70923d48792a81a1cce307966
treedd9872d5d36a47cc9a1d4626c4b109156532a469
parented40ac5c3819cee60c14fcf49212e996bc5bcbb4
KVM: x86/mmu: Factor out handling of removed page tables

Factor out the code to handle a disconnected subtree of the TDP paging
structure from the code to handle the change to an individual SPTE.
Future commits will build on this to allow asynchronous page freeing.

No functional change intended.

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