Re: [PATCH 4/8] KVM: MMU: drop unsync_child_bitmap

2011-12-22 Thread Xiao Guangrong
On 12/18/2011 04:59 PM, Avi Kivity wrote: On 12/16/2011 12:16 PM, Xiao Guangrong wrote: unsync_child_bitmap is used to record which spte has unsync page or unsync children, we can set a free bit in the spte instead of it unsync_child_bitmap takes one cacheline; the shadow page table takes

Re: [PATCH 4/8] KVM: MMU: drop unsync_child_bitmap

2011-12-18 Thread Avi Kivity
On 12/16/2011 12:16 PM, Xiao Guangrong wrote: unsync_child_bitmap is used to record which spte has unsync page or unsync children, we can set a free bit in the spte instead of it unsync_child_bitmap takes one cacheline; the shadow page table takes 64. This will make unsync/resync much more

[PATCH 4/8] KVM: MMU: drop unsync_child_bitmap

2011-12-16 Thread Xiao Guangrong
unsync_child_bitmap is used to record which spte has unsync page or unsync children, we can set a free bit in the spte instead of it Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- Documentation/virtual/kvm/mmu.txt |4 -- arch/x86/include/asm/kvm_host.h |1 -