Re: [PATCH 3/3] KVM: MMU: track the refcount when unmap the page

2012-07-03 Thread Marcelo Tosatti
On Tue, Jul 03, 2012 at 02:32:14PM +0800, Xiao Guangrong wrote: > It will trigger a WARN_ON if the page has been freed but it is still > used in mmu, it can help us to detect mm bug early > > Signed-off-by: Xiao Guangrong > --- > arch/x86/kvm/mmu.c |8 > 1 files changed, 8 insertion

[PATCH 3/3] KVM: MMU: track the refcount when unmap the page

2012-07-02 Thread Xiao Guangrong
It will trigger a WARN_ON if the page has been freed but it is still used in mmu, it can help us to detect mm bug early Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c ind