[PATCH 0/4] KVM: arm64: Minor page fault handler improvement

From: Gavin Shan
Date: Mon Mar 15 2021 - 00:20:14 EST


The series includes several minior improvements to stage-2 page fault
handler: PATCH[1/2] are cleaning up the code. PATCH[3] fixes the address
range check on adding new memory slot. PATCH[4] don't retrieve the memory
slot again in the page fault handler to save a bit CPU cycles.

Gavin Shan (4):
KVM: arm64: Hide kvm_mmu_wp_memory_region()
KVM: arm64: Use find_vma_intersection()
KVM: arm64: Fix address check for memory slot
KVM: arm64: Don't retrieve memory slot again in page fault handler

arch/arm64/include/asm/kvm_host.h | 1 -
arch/arm64/kvm/mmu.c | 19 +++++++++++--------
2 files changed, 11 insertions(+), 9 deletions(-)

--
2.23.0