summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-12-30 11:29:05 +0100
committerAvi Kivity <avi@qumranet.com>2008-01-30 17:01:21 +0100
commitd7824fff896a1698a07a8046dc362f4500c302f7 (patch)
tree249e23ec224bc621bea1ef24fa83f5a749d6b35b /virt
parentKVM: Add kvm_read_guest_atomic() (diff)
downloadlinux-d7824fff896a1698a07a8046dc362f4500c302f7.tar.xz
linux-d7824fff896a1698a07a8046dc362f4500c302f7.zip
KVM: MMU: Avoid calling gfn_to_page() in mmu_set_spte()
Since gfn_to_page() is a sleeping function, and we want to make the core mmu spinlocked, we need to pass the page from the walker context (which can sleep) to the shadow context (which cannot). [marcelo: avoid recursive locking of mmap_sem] Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions