Re: [PATCH 04/11] KVM: MMU: do not mark access bit on pte write path

2011-07-27 Thread Avi Kivity
On 07/26/2011 02:28 PM, Xiao Guangrong wrote: In current code, the accessed bit is always set when page fault occurred, do not need to set it on pte write path Is this true? a write with pte.w=pte.a=0 sets pte.a? -- error compiling committee.c: too many arguments to function -- To

Re: [PATCH 04/11] KVM: MMU: do not mark access bit on pte write path

2011-07-27 Thread Xiao Guangrong
On 07/27/2011 05:08 PM, Avi Kivity wrote: On 07/26/2011 02:28 PM, Xiao Guangrong wrote: In current code, the accessed bit is always set when page fault occurred, do not need to set it on pte write path Is this true? a write with pte.w=pte.a=0 sets pte.a? Generally, we will call

[PATCH 04/11] KVM: MMU: do not mark access bit on pte write path

2011-07-26 Thread Xiao Guangrong
In current code, the accessed bit is always set when page fault occurred, do not need to set it on pte write path Signed-off-by: Xiao Guangrong xiaoguangr...@cn.fujitsu.com --- arch/x86/include/asm/kvm_host.h |1 - arch/x86/kvm/mmu.c | 22 +- 2 files