KVM: MMU: Topup the mmu memory preallocation caches before emulating an insn
authorAvi Kivity <avi@qumranet.com>
Sun, 28 Oct 2007 16:52:05 +0000 (18:52 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:57 +0000 (17:52 +0200)
commitb733bfb524af69612f85c36a511f0109c5e3fe8d
tree7d9920070b78d7d84f7def39501bb211dc8de602
parent3067714cf59bd4a6dbf788b709485bc62c1ff845
KVM: MMU: Topup the mmu memory preallocation caches before emulating an insn

Emulation may cause a shadow pte to be instantiated, which requires
memory resources.  Make sure the caches are filled to avoid an oops.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/mmu.c