From: Avi Kivity Date: Sun, 30 Dec 2007 10:29:05 +0000 (+0200) Subject: KVM: MMU: Avoid calling gfn_to_page() in mmu_set_spte() X-Git-Tag: v2.6.25-rc1~1138^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7824fff896a1698a07a8046dc362f4500c302f7;p=pandora-kernel.git 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 --- Reading git-diff-tree failed