Re: [PATCH 6/6] KVM: MMU: trace pte prefetch

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

 




Avi Kivity wrote:

>> @@ -2066,11 +2071,16 @@ static void direct_pte_prefetch(struct
>> kvm_vcpu *vcpu, u64 *sptep)
>>           pfn = gfn_to_pfn_atomic(vcpu->kvm, gfn);
>>           if (is_error_pfn(pfn)) {
>>               kvm_release_pfn_clean(pfn);
>> +            trace_pte_prefetch(true, PREFETCH_ERR_GFN2PFN);
>>               break;
>>           }
>>    
> 
> What about virtual addresses and gptes?  They can be helpful too.
> 

OK, will do it in the next version.

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