Re: [PATCH] kvm: mmu: lazy collapse small sptes into large sptes

2015-04-03 Thread Wanpeng Li
On Fri, Apr 03, 2015 at 12:25:14PM +0800, Xiao Guangrong wrote: > > >On 03/30/2015 07:48 AM, Wanpeng Li wrote: >>There are two scenarios for the requirement of collapsing small sptes >>into large sptes. >>- dirty logging tracks sptes in 4k granularity, so large sptes are splitted, >> the large

Re: [PATCH] kvm: mmu: lazy collapse small sptes into large sptes

2015-04-03 Thread Wanpeng Li
On Fri, Apr 03, 2015 at 12:25:14PM +0800, Xiao Guangrong wrote: On 03/30/2015 07:48 AM, Wanpeng Li wrote: There are two scenarios for the requirement of collapsing small sptes into large sptes. - dirty logging tracks sptes in 4k granularity, so large sptes are splitted, the large sptes will

Re: [PATCH] kvm: mmu: lazy collapse small sptes into large sptes

2015-04-02 Thread Xiao Guangrong
On 03/30/2015 07:48 AM, Wanpeng Li wrote: There are two scenarios for the requirement of collapsing small sptes into large sptes. - dirty logging tracks sptes in 4k granularity, so large sptes are splitted, the large sptes will be reallocated in the destination machine and the guest in

Re: [PATCH] kvm: mmu: lazy collapse small sptes into large sptes

2015-04-02 Thread Xiao Guangrong
On 03/30/2015 07:48 AM, Wanpeng Li wrote: There are two scenarios for the requirement of collapsing small sptes into large sptes. - dirty logging tracks sptes in 4k granularity, so large sptes are splitted, the large sptes will be reallocated in the destination machine and the guest in

[PATCH] kvm: mmu: lazy collapse small sptes into large sptes

2015-03-29 Thread Wanpeng Li
There are two scenarios for the requirement of collapsing small sptes into large sptes. - dirty logging tracks sptes in 4k granularity, so large sptes are splitted, the large sptes will be reallocated in the destination machine and the guest in the source machine will be destroyed when live

[PATCH] kvm: mmu: lazy collapse small sptes into large sptes

2015-03-29 Thread Wanpeng Li
There are two scenarios for the requirement of collapsing small sptes into large sptes. - dirty logging tracks sptes in 4k granularity, so large sptes are splitted, the large sptes will be reallocated in the destination machine and the guest in the source machine will be destroyed when live