Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KVM: arm/arm64: Skip updating PTE entry if no change
When there is contention on faulting in a particular page table entry at stage 2, the break-before-make requirement of the architecture can lead to additional refaulting due to TLB invalidation. Avoid this by skipping a page table update if the new value of the PTE matches the previous value. Cc: [email protected] Fixes: d5d8184 ("KVM: ARM: Memory virtualization setup") Reviewed-by: Suzuki Poulose <[email protected]> Acked-by: Christoffer Dall <[email protected]> Signed-off-by: Punit Agrawal <[email protected]> Signed-off-by: Marc Zyngier <[email protected]>
- Loading branch information