KVM: MMU: Fix oopses with SLUB
authorAvi Kivity <avi@qumranet.com>
Fri, 20 Jul 2007 05:18:27 +0000 (08:18 +0300)
committerAvi Kivity <avi@qumranet.com>
Fri, 20 Jul 2007 17:23:59 +0000 (20:23 +0300)
commitc1158e63dfeb3928e94c768f0a403b3e0e799f70
tree03a30831c27255d82d479b0242017fb2e9c342a5
parent35f3f28613bc7263949db23a4c7078e425810c8c
KVM: MMU: Fix oopses with SLUB

The kvm mmu uses page->private on shadow page tables; so does slub, and
an oops result.  Fix by allocating regular pages for shadows instead of
using slub.

Tested-by: S.Çağlar Onur <caglar@pardus.org.tr>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/mmu.c