[PATCH] KVM: MMU: oom handling
authorAvi Kivity <avi@qumranet.com>
Sat, 6 Jan 2007 00:36:47 +0000 (16:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 6 Jan 2007 07:55:25 +0000 (23:55 -0800)
commitebeace8609205bf5e1b96fe325b7dea148042232
tree863991639d7df2a4aa5fd8b20b6b3a28c2cc2cda
parentcc4529efc7b730b596d9c7d5a917c00a357e92aa
[PATCH] KVM: MMU: oom handling

When beginning to process a page fault, make sure we have enough shadow pages
available to service the fault.  If not, free some pages.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/kvm/kvm.h
drivers/kvm/mmu.c
drivers/kvm/paging_tmpl.h
drivers/kvm/svm.c
drivers/kvm/vmx.c