Re: [PATCH v6 3/3] KVM: MMU: prefetch ptes when intercepted guest #PF

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Xiao Guangrong
Date: Sunday, August 15, 2010 - 6:37 pm

Hi Marcelo,

Thanks for your review and sorry for the delay reply.

Marcelo Tosatti wrote:


We disable prefetch the writable pages since 'pte prefetch' will hurt slot's
dirty page tracking that it set the dirty_bitmap bit but the corresponding page
is not really accessed.


Since it should disable 'prefetch' for the writable pages, so i'm not put these
operations into a common function and define it in kvm_main.c file.

Maybe we do better do these in a wrap function named pte_prefetch_gfn_to_pages()?


OK, i'll separate it.

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

Messages in current thread:
[PATCH v6 1/3] export __get_user_pages_fast() function, Xiao Guangrong, (Tue Aug 3, 8:28 pm)
Re: [PATCH v6 3/3] KVM: MMU: prefetch ptes when intercepte ..., Xiao Guangrong, (Sun Aug 15, 6:37 pm)