[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4C19CE70.9000002@cn.fujitsu.com>
Date: Thu, 17 Jun 2010 15:27:44 +0800
From: Xiao Guangrong <xiaoguangrong@...fujitsu.com>
To: Avi Kivity <avi@...hat.com>
CC: Marcelo Tosatti <mtosatti@...hat.com>,
LKML <linux-kernel@...r.kernel.org>,
KVM list <kvm@...r.kernel.org>
Subject: Re: [PATCH 6/6] KVM: MMU: trace pte prefetch
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 linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists