From: Marcelo Tosatti Date: Tue, 23 Sep 2008 16:18:32 +0000 (-0300) Subject: KVM: MMU: do not write-protect large mappings X-Git-Tag: v2.6.28-rc1~269^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38187c830cab84daecb41169948467f1f19317e3;p=pandora-kernel.git KVM: MMU: do not write-protect large mappings There is not much point in write protecting large mappings. This can only happen when a page is shadowed during the window between is_largepage_backed and mmu_lock acquision. Zap the entry instead, so the next pagefault will find a shadowed page via is_largepage_backed and fallback to 4k translations. Simplifies out of sync shadow. Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity --- Reading git-diff-tree failed