Re: [PATCH 2/3] KVM: VMX: Simplify pdptr and cr3 management

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

 



Sheng Yang wrote:
On Tuesday 02 June 2009 17:46:39 Avi Kivity wrote:
Sheng Yang wrote:
No, no, not with the new code. For CPU can load pdptrs if EPT enabled
with PAE from VM exit, there should not be necessary load it explicitly.
So I estimate the ept_load_pdptr() in exit handler, and put it in CR0
handling. Just tried to optimize load-pdptr according to the spec, but
not got the desired result...

So I am trying to find the failure reason...
so from your point of view, the patches are okay?

Yes. But we should can optimize it more by avoiding most of PDPTR loading, according to the spec.

Patch 3 makes reloading a very rare event. It only happens on pae mode changes or if userspace sets cr3.

--
error compiling committee.c: too many arguments to function

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