mbox series

[v3,0/2] KVM: Fix refaulting due to page table update

Message ID 20180813104351.24595-1-punit.agrawal@arm.com (mailing list archive)
Headers show
Series KVM: Fix refaulting due to page table update | expand

Message

Punit Agrawal Aug. 13, 2018, 10:43 a.m. UTC
Contention when updating a page table entry can lead to unnecessary
refaults. The issue was reported by a user when testing PUD hugepage
support[1] but also exists for PMD and PTE updates though with a lower
probability.

This version -

* fixes a nit reported by Suzuki
* Re-orders the checks when setting PMD hugepage
* drops mistakenly introduced Change-id in the commit message

Thanks,
Punit

[1] https://lkml.org/lkml/2018/7/16/482

Punit Agrawal (2):
  KVM: arm/arm64: Skip updating PMD entry if no change
  KVM: arm/arm64: Skip updating PTE entry if no change

 virt/kvm/arm/mmu.c | 43 ++++++++++++++++++++++++++++++++-----------
 1 file changed, 32 insertions(+), 11 deletions(-)