mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] KVM: Fix refaulting due to page table update
@ 2018-08-13 10:43 Punit Agrawal
  2018-08-13 10:43 ` [PATCH v3 1/2] KVM: arm/arm64: Skip updating PMD entry if no change Punit Agrawal
  2018-08-13 10:43 ` [PATCH v3 2/2] KVM: arm/arm64: Skip updating PTE " Punit Agrawal
  0 siblings, 2 replies; 3+ messages in thread
From: Punit Agrawal @ 2018-08-13 10:43 UTC (permalink / raw)
  To: kvmarm
  Cc: Punit Agrawal, linux-arm-kernel, linux-kernel, suzuki.poulose,
	marc.zyngier, christoffer.dall

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(-)

-- 
2.18.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-08-13 10:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-13 10:43 [PATCH v3 0/2] KVM: Fix refaulting due to page table update Punit Agrawal
2018-08-13 10:43 ` [PATCH v3 1/2] KVM: arm/arm64: Skip updating PMD entry if no change Punit Agrawal
2018-08-13 10:43 ` [PATCH v3 2/2] KVM: arm/arm64: Skip updating PTE " Punit Agrawal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®