On 11/21/2012 06:24 AM, Marcelo Tosatti wrote: > On Mon, Nov 05, 2012 at 08:11:03PM +0800, Xiao Guangrong wrote: >> It is more cleaner if we can update pte_access fist then set spte according >> to pte_access, also introduce gfn_need_write_protect to check whether the >> gfn need to be write-protected >> >> Signed-off-by: Xiao Guangrong <xiaoguangrong@xxxxxxxxxxxxxxxxxx> > > Please separate patch in: > - code movement with no logical modification. > - logical modification (such as condition for mark_page_dirty). > - move code to helper functions. Okay, will split it. -- 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