diff options
author | Avi Kivity <avi@qumranet.com> | 2007-09-14 19:26:06 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-09-14 22:59:55 +0200 |
commit | 22d95b1282810f5af599ee292b3fc443aefbdad0 (patch) | |
tree | dafe050aef12ea4bbac4ffb77070d8ec416a0838 /drivers/dma | |
parent | Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/mch... (diff) | |
download | linux-22d95b1282810f5af599ee292b3fc443aefbdad0.tar.xz linux-22d95b1282810f5af599ee292b3fc443aefbdad0.zip |
KVM: MMU: Fix rare oops on guest context switch
A guest context switch to an uncached cr3 can require allocation of
shadow pages, but we only recycle shadow pages in kvm_mmu_page_fault().
Move shadow page recycling to mmu_topup_memory_caches(), which is called
from both the page fault handler and from guest cr3 reload.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions