Re: [PATCH v2 01/15] KVM: MMU: fix the count of spte number

2013-09-08 Thread Gleb Natapov
On Sun, Sep 08, 2013 at 10:24:05PM +0800, Xiao Guangrong wrote: > > On Sep 8, 2013, at 10:01 PM, Gleb Natapov wrote: > > > On Sun, Sep 08, 2013 at 09:55:04PM +0800, Xiao Guangrong wrote: > >> > >> On Sep 8, 2013, at 8:19 PM, Gleb Natapov wrote: > >> > >>> On Thu, Sep 05, 2013 at 06:29:04PM

Re: [PATCH v2 01/15] KVM: MMU: fix the count of spte number

2013-09-08 Thread Xiao Guangrong
On Sep 8, 2013, at 10:01 PM, Gleb Natapov wrote: > On Sun, Sep 08, 2013 at 09:55:04PM +0800, Xiao Guangrong wrote: >> >> On Sep 8, 2013, at 8:19 PM, Gleb Natapov wrote: >> >>> On Thu, Sep 05, 2013 at 06:29:04PM +0800, Xiao Guangrong wrote: If the desc is the last one and it is full, its

Re: [PATCH v2 01/15] KVM: MMU: fix the count of spte number

2013-09-08 Thread Gleb Natapov
On Sun, Sep 08, 2013 at 09:55:04PM +0800, Xiao Guangrong wrote: > > On Sep 8, 2013, at 8:19 PM, Gleb Natapov wrote: > > > On Thu, Sep 05, 2013 at 06:29:04PM +0800, Xiao Guangrong wrote: > >> If the desc is the last one and it is full, its sptes is not counted > >> > > Hmm, if desc is not full

Re: [PATCH v2 01/15] KVM: MMU: fix the count of spte number

2013-09-08 Thread Xiao Guangrong
On Sep 8, 2013, at 8:19 PM, Gleb Natapov wrote: > On Thu, Sep 05, 2013 at 06:29:04PM +0800, Xiao Guangrong wrote: >> If the desc is the last one and it is full, its sptes is not counted >> > Hmm, if desc is not full but it is not the last one all sptes after the > desc are not counted too.

Re: [PATCH v2 01/15] KVM: MMU: fix the count of spte number

2013-09-08 Thread Gleb Natapov
On Thu, Sep 05, 2013 at 06:29:04PM +0800, Xiao Guangrong wrote: > If the desc is the last one and it is full, its sptes is not counted > Hmm, if desc is not full but it is not the last one all sptes after the desc are not counted too. > Signed-off-by: Xiao Guangrong > --- > arch/x86/kvm/mmu.c

Re: [PATCH v2 01/15] KVM: MMU: fix the count of spte number

2013-09-08 Thread Gleb Natapov
On Thu, Sep 05, 2013 at 06:29:04PM +0800, Xiao Guangrong wrote: If the desc is the last one and it is full, its sptes is not counted Hmm, if desc is not full but it is not the last one all sptes after the desc are not counted too. Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com

Re: [PATCH v2 01/15] KVM: MMU: fix the count of spte number

2013-09-08 Thread Xiao Guangrong
On Sep 8, 2013, at 8:19 PM, Gleb Natapov g...@redhat.com wrote: On Thu, Sep 05, 2013 at 06:29:04PM +0800, Xiao Guangrong wrote: If the desc is the last one and it is full, its sptes is not counted Hmm, if desc is not full but it is not the last one all sptes after the desc are not counted

Re: [PATCH v2 01/15] KVM: MMU: fix the count of spte number

2013-09-08 Thread Gleb Natapov
On Sun, Sep 08, 2013 at 09:55:04PM +0800, Xiao Guangrong wrote: On Sep 8, 2013, at 8:19 PM, Gleb Natapov g...@redhat.com wrote: On Thu, Sep 05, 2013 at 06:29:04PM +0800, Xiao Guangrong wrote: If the desc is the last one and it is full, its sptes is not counted Hmm, if desc is not

Re: [PATCH v2 01/15] KVM: MMU: fix the count of spte number

2013-09-08 Thread Xiao Guangrong
On Sep 8, 2013, at 10:01 PM, Gleb Natapov g...@redhat.com wrote: On Sun, Sep 08, 2013 at 09:55:04PM +0800, Xiao Guangrong wrote: On Sep 8, 2013, at 8:19 PM, Gleb Natapov g...@redhat.com wrote: On Thu, Sep 05, 2013 at 06:29:04PM +0800, Xiao Guangrong wrote: If the desc is the last one and

Re: [PATCH v2 01/15] KVM: MMU: fix the count of spte number

2013-09-08 Thread Gleb Natapov
On Sun, Sep 08, 2013 at 10:24:05PM +0800, Xiao Guangrong wrote: On Sep 8, 2013, at 10:01 PM, Gleb Natapov g...@redhat.com wrote: On Sun, Sep 08, 2013 at 09:55:04PM +0800, Xiao Guangrong wrote: On Sep 8, 2013, at 8:19 PM, Gleb Natapov g...@redhat.com wrote: On Thu, Sep 05, 2013 at

[PATCH v2 01/15] KVM: MMU: fix the count of spte number

2013-09-05 Thread Xiao Guangrong
If the desc is the last one and it is full, its sptes is not counted Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 6e2d2c8..7714fd8 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c

[PATCH v2 01/15] KVM: MMU: fix the count of spte number

2013-09-05 Thread Xiao Guangrong
If the desc is the last one and it is full, its sptes is not counted Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/mmu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 6e2d2c8..7714fd8 100644 ---