Re: [PATCH 5/6] KVM: MMU: prefetch ptes when intercepted guest #PF

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Avi Kivity
Date: Thursday, June 17, 2010 - 2:20 am

On 06/17/2010 12:04 PM, Xiao Guangrong wrote:

Right now if the fault is in spte i, you prefetch ptes 
(i+1)..(i+MAX_PREFETCH-1).  I'd like to prefetch ptes (i & 
~(MAX_PREFETCH-1))..(i | (MAX_PREFETCH - 1)).  Read all those gptes, and 
map them one by one with speculative = false only for spte i.

Perhaps we need to integrate it into walk_addr, there's  no reason to 
read the gptes twice.


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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 5/6] KVM: MMU: prefetch ptes when intercepted g ..., Avi Kivity, (Thu Jun 17, 2:20 am)