Re: [PATCH 1/1 v2] KVM: MMU: Optimize guest page table walk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 24 Apr 2011 10:27:06 +0300
Avi Kivity <avi@xxxxxxxxxx> wrote:

> On 04/21/2011 06:34 PM, Takuya Yoshikawa wrote:
> > From: Takuya Yoshikawa<yoshikawa.takuya@xxxxxxxxxxxxx>
> >
> > This patch optimizes the guest page table walk by using get_user()
> > instead of copy_from_user().
> >
> > With this patch applied, paging64_walk_addr_generic() has become
> > about 0.5us to 1.0us faster on my Phenom II machine with NPT on.
> 
> Applied, thanks.  Care to send a follow-on patch that makes 
> cmpxchg_gpte() use ptep_user instead of calculating it by itself?

I'll send the patch soon!
  I was not sure if others might be preparing it.

Takuya
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux