KVM: MMU: track the refcount when unmap the page
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Tue, 17 Jul 2012 13:52:52 +0000 (21:52 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 20 Jul 2012 00:09:10 +0000 (21:09 -0300)
commit86fde74cf5b829627b37ca86322acfdd99b524b8
tree0a30f492d7326f8fcb0fbb17c530e57166ab6d29
parent9d3c92af47d853d4e31ee971dba7bc086275b7b3
KVM: MMU: track the refcount when unmap the page

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 <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/mmu.c