From: Marcelo Tosatti Date: Wed, 22 Dec 2010 11:01:57 +0000 (-0200) Subject: KVM: MMU: only write protect mappings at pagetable level X-Git-Tag: v2.6.38-rc1~244^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e49146dce8c3dc6f4485c1904b6587855f393e71;p=pandora-kernel.git KVM: MMU: only write protect mappings at pagetable level If a pagetable contains a writeable large spte, all of its sptes will be write protected, including non-leaf ones, leading to endless pagefaults. Do not write protect pages above PT_PAGE_TABLE_LEVEL, as the spte fault paths assume non-leaf sptes are writable. Tested-by: Alex Williamson Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed