Re: [PATCH 5/6] Nested SVM: Implement INVLPGA

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

 



On Sun, May 17, 2009 at 11:03:52PM +0300, Avi Kivity wrote:
> Avi Kivity wrote:
>>>
>>> Hmm, since we flush the TLB on every nested-guest entry I think we can
>>> make this function a nop.
>>>   
>>
>> I think, unless it specified ASID 0?  In that case you need a local  
>> tlb flush.
>>
>> (the kvm_mmu_reset_context() and kvm_mmu_load() are total overkills in  
>> any case).
>>
>
> Oh, but we do need to resync OOS pages, here for ASID 0 and on guest  
> entry.  Marcelo?

Right, call kvm_mmu_invlpg() with the linear address passed to INVLPGA.

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