From: Marcelo Tosatti Date: Fri, 28 May 2010 12:44:59 +0000 (-0300) Subject: KVM: MMU: invalidate and flush on spte small->large page size change X-Git-Tag: v2.6.35-rc3~10^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3be2264be3c00865116f997dc53ebcc90fe7fc4b;p=pandora-kernel.git KVM: MMU: invalidate and flush on spte small->large page size change Always invalidate spte and flush TLBs when changing page size, to make sure different sized translations for the same address are never cached in a CPU's TLB. Currently the only case where this occurs is when a non-leaf spte pointer is overwritten by a leaf, large spte entry. This can happen after dirty logging is disabled on a memslot, for example. Noticed by Andrea. KVM-Stable-Tag Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity --- Reading git-diff-tree failed